I am trying to render districts outlines on a map using updated topojson file which I created from geojson file.
I successfully made the original file create map using d3. Bu then, I added more features created using "geojson.io". I did so by exporting features in geojson format, appending them to original districts geojson file and then finally converting the updated geojson file to topojson using geo2topo. cli
The new topojson file seems to run perfectly on "geojson.io", "mapShaper". But in my app, on passing the topology and topojson object to topojson-client's feature method, it returns undefined.
I've checked the initial topojson file with new one. All the keys/ values are there, and that because latter works on above mentioned sites. I've been forced to believe there is some bug in the method which is returning undefined.
I am trying to render districts outlines on a map using updated topojson file which I created from geojson file.
I successfully made the original file create map using
d3
. Bu then, I added more features created using "geojson.io". I did so by exporting features in geojson format, appending them to original districts geojson file and then finally converting the updated geojson file to topojson usinggeo2topo
. cliThe new topojson file seems to run perfectly on "geojson.io", "mapShaper". But in my app, on passing the topology and topojson object to topojson-client's feature method, it returns
undefined
.I've checked the initial topojson file with new one. All the keys/ values are there, and that because latter works on above mentioned sites. I've been forced to believe there is some bug in the method which is returning undefined.