10

I am working with a web developer who is working with Google maps API, trying to determine what pre-processing steps I should perform (e.g. in R and GRASS), and what can be done within the google maps API. This leads me to the following questions:

  1. Is there a way to convert raster to vector data in the google maps API?

  2. Are there any statistical tools associated with the API?

6

1.- Nope, only the other way around. 2.- Not directly, but you can use Google Fusion Tables to do some basic queries, avg, max, min and some basic mathematical operations.

3

1 - I don't know well the Gmap API but I don't think you can't vectorize data.

2 - Regarding statistic tool, it could be worth to use a JS stat library like Jstat before sending data to google. You can eventually use a server side library. Depending on your needs and the language you're using you will find something.

A global answer would be you need more than Gmap API.

1

Im no gmap expert, but i would say no to the former, and for the latter, you can calculate area and length (using libraries=geometry) but not much more.

1

Typically I write runtime functionality like this using other libraries like ArcGIS Server or GDAL and expose this functionality to the client via web services (ArcGIS Server REST, ASP.NET, Java Web Services, PHP, etc), returning links to results, links to a new tile cache or geospatial data in KML or geoJSON.

There are certain operations, especially raster processing that just are not well supported in client side web programming yet.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.