I am looking to map about 800 markers on a Google map. I have a csv file with addresses, including latitude and longitude coordinates. I would like to be able to somehow upload this file to Google Maps resulting in a map displaying all of my markers. This process will be automated, where a windows service (or via Sql Server Integration Services) will upload the address data to some url, effectively updating the markers on a map, which is embeded on an Asp.Net page on my site.
Does anyone know of a simple way this can be accomplished? Are there any tools out there that can already do this? I've looked at batchgeo.com and there file upload feature, but I don't think their tool can be automated.
Why not just to use google maps api v3 to display the markers? With 800 markers you probably would like to use marker clustering e.g. using markerclusterer
800 markers is a lot for one map, especially without marker clustering. Do you think maybe something like Google Fusion Tables would work? It's pretty easy, doesn't require much in terms of coding, and I'm fairly certain you can update records via URLs. You can upload your initial CSV file to it, too, and then display the points on a Google Map.
Related
I tried to use Web Scraper, but it only works for a few data entries not for hundreds of data points. Is there a way to scrape a large amount of data solely using Web Scraper or is there a better alternative like python? I intend to scrape information of the location name, address, rating number, and website. Thanks for any inputs!
Sitemap:
{"_id":"mymaps","startUrl":["https://www.google.com/maps/d/u/0/edit?....."],"selectors":[{"id":"activityelement","type":"SelectorElementClick","parentSelectors":["_root"],"selector":"div.i4ewOd-TaUzNb-haAclf","multiple":true,"delay":"1000","clickElementSelector":"div.un1lmc-pbTTYe-ibnC6b","clickType":"clickOnce","discardInitialElements":"do-not-discard","clickElementUniquenessType":"uniqueText"},{"id":"activityname","type":"SelectorText","parentSelectors":["activityelement"],"selector":"div.i4ewOd-TaUzNb-r4nke","multiple":false,"regex":"","delay":0},{"id":"activityrating","type":"SelectorText","parentSelectors":["activityelement"],"selector":"span.fO2voc-jRmmHf-LJTIlf-wcwwM-H6j5tf","multiple":false,"regex":"","delay":0},{"id":"activityaddress","type":"SelectorText","parentSelectors":["activityelement"],"selector":".OzwZjf-jRmmHf-MZArnb-KDwhZb div:nth-of-type(3)","multiple":false,"regex":"","delay":0},{"id":"activitywebsite","type":"SelectorLink","parentSelectors":["activityelement"],"selector":"div:nth-of-type(4) a","multiple":false,"delay":0}]}
Have you tried Octoparse?
for hundreds of data points
It does allow 10'000s of input URLs...
Try downloading the KML file from the three vertical dots at the top of the My Map, and use the 'Export as KML instead of KMZ' checkbox option...then you'll get all the geocoordinates in a human readable XML file.
I have the longitude and latitude of vehicles and other things that are going to be constantly updating and would like to use Google Maps API v3 to keep track of them.
I don't believe my current method of importing these locations (importing into a Fusion Table which then geocodes it) is efficient or allow for Google Maps to grab data.
I have basic experience in php and Javascript, so my idea is to use phpMyAdmin to keep the database and have Google Maps pull data from there, but I have no idea where to start or how to have phpMyAdmin with a consistent dataflow. Could someone give me a starting point or perhaps offer a better solution?
This example shows a end result which is a still image. I'm not sure if this will get the results I want.
https://developers.google.com/maps/articles/phpsqlajax_v3
I realize that the question is pretty complicated and may require much research. Hope anybody can help me to get useful resources to achieve my goal.
I want to have a Google or Bing map on my ASP.NET 4 application (C#) to display all my logged in users as points on the map.
I understand that this involves five major problems
Get the location of the device (most likely standard laptop with IE9 browser) based on its unique IP address.
Integrate Google or Bing map with ASP.NET or Silverlight application.
Display the right portion of the map with the right Zooming depending on logged-in users locations.
Finally, mark the addresses as points on the map.
Note that the locations points should be dynamically reflected when any of the locations is changed.
The database is implemented using SQL SERVER 2005/2008R2
There are geo location services that can give you the latitude and longitude given an ip address.
As you mention you would be storing these in a database, getting all the current users would be simple database call.
Integrating a google map into a html page is very simple. You would only have to emit the necessary javascript from your page.
You should mark the points on the map first.
Google maps api has calls to fit the map to show all current points(fitBounds). I am guessing bing would have something similar.
To reflect the current points, you would have to fresh your locations from the database. I highly recommend an ajax call that returns json and using that to replot the points.
here goes a simple question:
I've got a showKmz() function which receives an URL belonging to a KML/KMZ file and which goes straight ward to a fetchkml() method, after that it gets appended to my Google Earth instance.
Now I want to recover the coordinates of this fetched KML/KMZ file and use them to immediatelly after load a custom ico I want to put exactly on the same location of the KML/KMZ file I fetched.
The reason for that is that I want to show this files on Google Earth with their clicable icon despite of whatever icon those KML/KMZ could have by default...
Does anybody knows a way to either achieve the goal of retrieving the coordinates or even better: a more direct way to make this custom icon superposing I want?
Thanks in advance!!
Bye!!
From here
http://code.google.com/apis/earth/documentation/kml.html
When getting a KML/Z file with fetchKml, you have in the callback an option to interact with the KMLFeatures you've obtained before appending them to the globe. There could be several items in that file which have coordinates, as well as several icons. So it sounds like you want to get the features, iterate over them, and insert an IconStyle for each (or replace existing IconStyle) to have it render with the Icon you want. You don't have to place a new feature at the same location as the existing ones.
I am trying to get into the google maps api v3 to display store locations.
All non-flash tutorials for google maps, which I have seen so far, create an array with the latitude and longitude in either java script part of the html or in a seperate js file.
However, then I list all coordinates in plain text in the requested html site.
Is there a way to hide the exact location in a seperate file or layer, which is not accessible to the user? I would like to display the locations with a broad view and would like to keep the exact locations hidden.
Thank you for any suggestions.
I do not know if it is possible to do, but you can try create external PHP script that will returns JSON output with all Google Maps data.
In the beggining of the script you can check referer and it is correct (equals to the site script) show that data - otherwise, print some error, etc.
In JavaScript load whole data with Ajax.
However there is no way to permanently hide data from user - it is always possible to write some script that will export them from Google Map (for example using FireBug/Chrome console).