Closed antonrinas closed 2 years ago
Zip file contain ESRI File Geodb format which is not recognized by mapsahper.
Got it, thank you!
If you need it as shp, download it https://www.hudexchange.info/resources/documents/CoC_GIS_National_Boundary_2021.zip
uncompress. Rename directory CoC_GIS_National_Boundary_2021
to CoC_GIS_National_Boundary_2021.gdb
and then do
ogr2ogr output.shp CoC_GIS_National_Boundary_2021.gdb FY21_CoC_National_Bnd -lco ENCODING=UTF-8
PS: I consider you know how to install and use GDAL command line utility ogr2ogr
@ThomasG77 Thank you! It works for me! For me an algorithm was next (maybe it'll be useful for somebody):
u-admin@rr:~/GEO-JSON$ ogrinfo ./CoC_GIS_National_Boundary_2021.gdb
Had to open data source read-only.
INFO: Open of ./CoC_GIS_National_Boundary_2021.gdb' using driver
OpenFileGDB' successful.
1: FY21_CoC_National_Bnd (Multi Polygon)
u-admin@rr:~/GEO-JSON$ ogr2ogr ./2021/output.shp CoC_GIS_National_Boundary_2021.gdb FY21_CoC_National_Bnd -lco ENCODING=UTF-8
Warning 1: Field ST of width 255 truncated to 254. Warning 1: Field STATE_NAME of width 255 truncated to 254. Warning 1: Field COCNUM of width 255 truncated to 254. Warning 1: Field COCNAME of width 255 truncated to 254. Warning 6: Normalized/laundered field name: 'Shape_Length' to 'Shape_Leng'
u-admin@rr:~/GEO-JSON$ cd ./2021/
u-admin@rr:~/GEO-JSON/2021$ ogr2ogr -f "GeoJSON" "outputFile.json" "output.shp"
Simplify outputFile.json using https://mapshaper.org/
I'm trying to import this file: https://www.hudexchange.info/resources/documents/CoC_GIS_National_Boundary_2021.zip here https://mapshaper.org/ But nothing happens. I tried to drop the file and by using the "Select" button. I'm using the last Chrome.