Closed yuhangch closed 3 years ago
For properties use key (unicode) like this example:
{ "type": "FeatureCollection", "features": [{ "type": "Feature", "geometry": { "type": "Point", "coordinates": [102.0, 0.5] }, "properties": { "名字": "value0" } }] }
The result from ogr2ogr can't output attribute information correctly:
Considerin data similar to the above, I want to add an option to handle this situation. From this post, I add this to force utf-8 encoding:
if ('forceUTF8' in req.body) { ogr.options(['-lco', 'ENCODING=UTF-8']) }
Add force encoding utf-8 option for "Convert from GeoJSON"
For properties use key (unicode) like this example:
The result from ogr2ogr can't output attribute information correctly:
Considerin data similar to the above, I want to add an option to handle this situation. From this post, I add this to force utf-8 encoding: