World GeoJSON and US States Geojson combined resulting in two border lines in the US-Canada border region

1081
1
05-19-2022 12:02 AM
SilpaRaj
New Contributor

I am using the following GeoJosns to plot world countries and US states in my application.

https://hub.arcgis.com/datasets/esri::world-countries/explore?location=46.701655%2C-92.188198%2C7.07

https://www.arcgis.com/home/item.html?id=540003aa59b047d7a1f465f7b1df1950

 

When I create combined map with these two its showing two line along the Canada-US border as the state boundary geojson and country boundary geojson have different points.

I would like to explore the following options.

1. Any existing combined geojson available without the redundancy of the points

2. Any way to customise the points(remove points from any of the geojson)

3. Any other repository providing similar data geojson

 

Any help is appreciated. 

Thanks,

 

0 Kudos
1 Reply
jcarlson
MVP Esteemed Contributor

I would suggest taking a look at OpenStreetMap data. The way administrative boundaries are handled in OSM is by using relations of shared linear segments. Though each administrative unit would be exported as a separate object, by virtue of their being built from the same linear segments, they will have identical vertices.

- Josh Carlson
Kendall County GIS
0 Kudos