I am trying to download this layer as a geojson, but the rest server itself seems to be missing the geometry information. Yet when viewing the layer online here the layers appear on the map meaning the geometry information must be out there somewhere. If someone could shed some light upon this that would be great, when looking at the raw data in json format, the geometry field appears empty.
Solved! Go to Solution.
Short answer, you can't download the geometry information because the service has been published in a way to prevent it. All of the non-spatial attributes are available, but they have decided to prevent access to the geometry information. There is nothing you can do on the end-user side. You can try contacting the organization and inquire how to get a copy of the data that includes geometry.
The reason the one link shows the geometries on a map is that it is a different REST function. The link that works is returning images of data and not data itself.
Short answer, you can't download the geometry information because the service has been published in a way to prevent it. All of the non-spatial attributes are available, but they have decided to prevent access to the geometry information. There is nothing you can do on the end-user side. You can try contacting the organization and inquire how to get a copy of the data that includes geometry.
The reason the one link shows the geometries on a map is that it is a different REST function. The link that works is returning images of data and not data itself.