I have a site (BoatingTrax.com) which places notices to mariners on several maps (Google Earth and Google maps). I upload each map daily in kml format to my server. Google Earth works well and updates daily. Google Maps doesn't. I need it to load a new maps from the server location. I tried a scripting file a attached. Any help greatly appreaciated.
Google has a good tutorial on creating KML layers on maps.
https://developers.google.com/maps/documentation/javascript/examples/layer-kml
I did an example with your downloadable kml for SEQ. So when you update the earth kml files. the map should also update.
You may have to deal with cache parameters.
Related
Now I am creating a real digital library website. The website is required to store uploaded file in a database and receive it from the database. I have found a way to store the uploaded files in Google Cloud. May I know is there another way better than this?
I've read about how some sites use streets data and overlay it over their map tiles. Is this necessary in leaflet? I think the attaching of a marker is fairly well-covered in the Leaflet documentation, but I'm not sure whether there's a (ideally reasonably easy) way to give it the full search for address functionality in Google Maps.
Should be possible - you'll need a geocoding web service, like Google's, that you can hand an address and will give you back a lat/lon coordinate, which you can then plot onto Leaflet. I believe MapQuest has a free one; not sure if there's an API limit or anything along those lines: http://www.mapquestapi.com/geocoding/
In fact, I think this template site from MapBox, though it doesn't use Leaflet, hooks into MapQuest for it's geocoding. You might be able to use that as an example.
MapQuest offers two Geocoding Web Services, which will take an address and convert it to latitude and longitude coordinates.
MapQuest Geocoding Web Service (licensed data, meaning, the 'behind the scenes' geocoding data is commercially-available data)
MapQuest Open Geocoding Web Service (open data, meaning, the 'behind the scenes' data is open, generated by users of the OpenStreetMap community).
The Open Geocoding Web Service is brand new! For more information, check out the MapQuest Developer Network and Developer Network Forums.
I couldn't find articles match to my requirements.
Basically, what I want is that:
User uploads picture to the application from their local drive.
Application stores the picture uploaded to datastore.
Application retrieves images from datastore.
Any suggestions? Urgent.
That's exactly what is discussed in the documentation for the BlobStore API.
You can do this in much the same way as you would in any other framework or platform: Create an HTML form with a 'file' input and the mimetype set to 'multipart/form-data'. On the server side, extract the file data from the form field (using self.request.POST['fieldname'].value in webapp) and store the contents in a datastore model, in a db.BlobProperty field.
I have a app on the GAE. And need save entries of spreadsheet which is located in the Google docs to database. I assume that StringIO, xlrd, gdata-api can help to implement it. But it seems that the method gd_client.Export of gdata-api is not provided file parameter. Only provide file_path argument. Unfortunately the App can't create a file on the GAE.
Do you know that how to save the spreadsheet to GAE's database?
is there any way for a google app engine app to convert a user uploaded docx file to html?
I think the question is really; How can I convert a word document to HTML using Java/Python. and has little to do with google-app-engine itself.
This has been addressed on SO already for Python and for Java
One possible solution would be to use the Google Apps Document List API to send your file to Google Docs and then retrieve it in another format.