1

Is it possible to display whole "info" for vector layer? I have a lot of geojsons with different feature in one map. I would like to show information.WMS can display info in this case (image). How I should do this for geojson?enter image description here

1
  • Do you mean info from one clicked feature or from the whole layer? WFS can be used for both cases. Example about reading the whole layer as GeoJSON: demo.opengeo.org/geoserver/…
    – user30184
    Mar 7, 2016 at 5:42

1 Answer 1

1

You seem to be showing a WMS GetMap response for a point data source, and a corresponding WMS GetFeatureInfo response for some point on that map.

If you want to access the data as GeoJSON you will need to use a WFS (provides vector data) and not a WMS (provides image data).

Your example looks to come from ArcGIS, but I don't think that ArcGIS can be configured to give a GeoJSON WFS response. I think both MapServer and GeoServer are possibilities.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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