Tag Info

New answers tagged

1

GeoServer supports neither, there is a discussion ongoing on how to implement support for HSTORE here: http://osgeo-org.1560.x6.nabble.com/Re-Geoserver-Question-about-PostgreSQL-and-JSON-or-HStore-td5218145.html Supporting JSON columns would be quite a bit more complicated.


0

First to first. Except you "must" use GeoJson, use it. Otherwise, convert it to TopoJson. Use http://geojson.io its simple, clean, free and its works. Open -> File: load your "mylayer.geojson" (Check if everything it's ok with your map) Save -> TopoJson: map.topojson GeoJson Size: 1.08 Mb TopoJson Size: 0.16 Mb And here a working code from your data: ...


1

Hopefully I'm understanding this question correctly and you want to add a service to a base map layer that comes from your JSON blob. You would create an esri BasemapLayer with the URL as a parameter for each of the services. Once you have all the layers in, you need to add them to the layers parameter of your basemap. In my example, I wanted a slightly ...


2

not sure if this fits your use case, but you might be able to use pointToLayer when constructing the geojson var papesjson = L.geoJson(someGeojson, { pointToLayer: function (feature, latlng) { if (feature.properties.estado == "BAJA"){ awesomeclase ="fa-circle-o-notch"; } else if (feature.properties.estado == ...


1

Hi your geodata seems to be in a CRS thats not WGS84 (i.e. EPSG:4326). Those can not be properly displayed by github gists or also geojson.io. Try to re-export the original shapefile from QGIS to geojson , and choose WGS84 EPSG:4326 in the CRS field of the dialog that opens when you right-click the layer in QGIS and choose "save as.." Kind regards



Top 50 recent answers are included