GeoJSON Requirements (KB-GI008)
The following are the GeoJSON requirements for vGIS integration.
- By default, GeoJSON Service should be set to public. If you use non-public (protected) GeoJSON URLs, please contact the vGIS Support team to discuss the authentication process.
- GeoJSON features must contain an attribute or a property to group them by. The attribute or property name can be anything (e.g., “group”: “Tree”or “group”: “Hydrant”), as long as it is consistent for features of the same type.
- Features within the same group should have the same geometry type.
- Each feature should contain the ID field unique within the group. The ID can repeat between groups, but within the same group, each ID must be unique.
- The GeoJSON URL can contain a dynamic variable to present different data for different requests. The dynamic URL requirements are as follows:
- The service URL should contain the identifier segment (e.g., “serviceId”). For example: https://myapp.com/api/v1/geojson/{serviceId}
- The “serviceId”parameter is passed with a deep link to instruct vGIS which data to pull.
Have Questions? Feel free to Submit A Request to speak with a member of the vGIS Support Team.
Revised: 2024-03-07