I want to show some historical data via leaflet map, for example, show some universities on map based on their establishing year by sequence, i guess if i write it by myself i would use some setInterval or else function, but i prefer some existing plugin if it's available, any one can give some hint? thanks.
Thanks & Regards,
Martin.
Related
I'm using ag-grid with server-side mode for retrieving data from the backend. I would like to use groupRemoveSingleChildren option so there would be no need to expand if only one row available. However I'm wondering if it's even possible for non client-side model, how would it suppose to know that only one row available? I've tried to use getChildCount() but it doesn't seem to be related. Thanks in advance
I have a lot of existing data that I would like to use as training data for a wit.ai chatbot. The data is stored in a csv file where each row has a statement/question and a response to that statement/question.
I know that wit.ai requires you to assign intents to comments made and so I'm wondering if there is a way to simply send over the data I have and have the chatbot start learning intents on its own.
Thanks!
Thanks for posting. We know this is not perfect yet but we release an import/export feature a few days ago. Looking at the structure of the json export, one can probably easily feed with existing data. It would require creating one story per statement/question and a response. More info here:
https://wit.ai/docs/recipes#copyexportversion-my-app
"Teaching" Wit.Ai is not exactly what some might think it is.
You will have to create stories for your User says column. The replies are irrelevant to be honest. You can't "teach" wit.ai to reply. Replies are defined in the story or in your code.
What wit.ai might need from your data are keywords and key-phrases which make the entity recognition better for wit.ai.
Here is the simplest example:
Entity color is recognized based on keywords listed. So if you have a lot of data as an example of user input - you can try to break it down first into "which entities which user input should produce" and then keywords from those input.
Using your data for "teaching" - would be a little difficult since it will require you to create a lot of Stories in wit.ai to cover possible user input and entity identification. But you can still do it like this:
(rough example)
Make one story about user asking the time for example
Mark in the user input which entities should be derived from that input:
Sort your list you have to get all possible way of asking for the time:
How late is it?
Can you tell me the time?
I wonder what's the time now?
Use a script (Python) to "shoot" all these user inputs at your story.
Once done - go to Understanding time of wit.ai and go through all input correcting\adding the entities you defined.
This process will "teach" entities if they are keywords based or some other algorithm.
That's the best I can think of about how to use your existing data. Wit.Ai is different from other language processing tool-sets and "teaching" it with existing data is somewhat "puzzling" :)
I need to create a local reverse geocode service for my specific country using open source maps.
My first option is OpenStreetMap so I downloaded my country PBF file.
Can anyone give any idea on how to start using this data? or other options?
There are already various search engines for OSM available. The most popular one currently is Nominatim. It supports both geocoding and reverse geocoding.
Well, you could start of by reading the wiki, I guess it would be interesting to find out which node / way / relation tags you would use as an input. Apart from that you should have an understanding of the best data structures for the task, I guess you want to perform nearest neighbor queries, so you might need to implement / use an R-Tree for that...
I was looking at the Bing Heat Map Creator here.
It looks pretty cool, but I wanted to build something a little more dynamic with it. Unfortunately it appears as if the only way to use it is by uploading a CSV file manually. Does anyone know of another way to get the data loaded into this?
Thanks.
We developed the Bing Heat Map Creator, which is a Map App running on the Bing Maps platform. It is certainly possible to build similar heat mapping features in a more automated mapping application but likely would not be done as a map app due to limitations with map apps APIs. Ping me if you want to discuss further.
Regards
Steve
I am playing around a bit with openstreetmap data.
What I want to get is the closest "road" (i.e. way with tag 'highway' set to certain values) to the users position.
At the moment I use the API to query all Objects in a square around the user and then parse all the way elements, check their tags, check their distance to the user and so on
But that doesn't sound to elegant to me.
Is there a better solution ? maybe through the API or by installing the openstreetmap data in a local DB somehow to be able to query that directly ?
would be great if someone could point me to the right direction.
Thanks in advance.
please use "Read-Only Data APIs" for getting Data.
You must not use the "editing API" for read-only purposes or projects.
(see Terms of use)
For your purposes I would use OSM Server Side Script