Tag Info

New answers tagged

1

Glad you got it sorted out. It is worth clarifying that the basemaps from the BasemapGallery have no relationship to the basemap ids of the map object. The mechanics as I understand them are as follows: The widget retrieves the basemaps it uses from ArcGIS Online from a specific map group. First it searches for the group based on title/owner: ...


2

As @tmcgee points out in the linked answer, the list of basic base maps that can be passed to the constructor are set in the esriConfig defaults object. It's not that the error message needs to be updated, it's that the constructor can only be passed a value in this list and that doesn't include an entry for the Terrain with Labels basemap. I've handled ...


0

I've managed to scrape data and (partially) convert it to spatial data using R. I can scrape the data using this: url = "http://www.majidata.go.ke/ajax-maps.php?reg=area&id=30202020116" test <- readLines(url, warn="F") Which gives me a character vector containing the coordinates, the name, and a hex colour. I then split the vector into a ...


1

If you plan to use Mapserver and PostGIS, you may edit the spatial database using WFS-T provided by TinyOWS add-on: link to the docs There is also a project called dirt-simple-postgis-http-api (former PostGIS RESTful Web Service Framework), but it's read-only. For full CRUD capabilities, you will have to create a backend service from scratch. ...


2

If you're looking for geojson support, I would go for builtin PostgreSQL capabilities instead of parsing it with PHP. It's available since version 9.3 and it works like charm with Leaflet library. You'd also probably need to do some routing if you want to build a RESTful app and you might find any of these PHP framework handy.


5

This only a partial answer and lacks all python but too long to fit into a comment field. Your data is rather easy to convert into WKT: capture the coordinate part switch commas to spaces and spaces to commas close inside WKT polygon: POLYGON ((...)) POLYGON ((39.655756 -4.034769,39.655757 -4.034769,39.655758 -4.034769,39.655800 -4.034788,39.655885 ...


0

You need to read the location from the Geotiff header. Full documentation can be found at http://trac.osgeo.org/geotiff/ . I do not think it stores the center so you may have to take the 4 boundaries and average. You have a few choices including some APIS. as for direct read using javascript or php I do not know of a way. Anyway I think listgeo is a good ...



Top 50 recent answers are included