Closed RamanaBotta closed 1 year ago
This is an issue, not a PR. You have the error what(): Coordinate system empty
because the coordinate system of the GeoJson is not set. Although on GML the coordinate system is written on the file, GeoJson doesn't have that. Check how it's done on the tests. If you have more problems, please, open a new issue :)
What?
Geojson compatibility for fields2cover_ros package.
Why?
Since the Geojson file format is mostly available (to my knowledge) and you guys have already way of reading file.
How?
Commented importGml and added importJson . // f2c::Parser::importGml(fieldfile, fields); f2c::Parser::importJson(fieldfile, fields);
Testing?
roslaunch fields2cover_ros view_field.launch
Observations
roslaunch fields2cover_ros view_field.launch Error terminate called after throwing an instance of 'std::invalid_argument' what(): Coordinate system empty