Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I can't get the bounding boxes of polygons if TIGER/Line shape files when converting them to GeoJSON using FWTools. The other default information is present and there is no difference between the GeoJSON files created with or without -lco WRITE_BBOX=YES. Here is the command line I used:

ogr2ogr -f GeoJSON myF.json myF.shp -lco WRITE_BBOX=YES

share|improve this question
add comment

1 Answer

WRITE_BBOX parameters is supported for OGR >= 1.9.0.
FwTools contains previous version of OGR.
You should download the latest installer version (for now 1.10.0) from here.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.