We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I'm adding the following code to convert to GeoJSON object:
$wkbNames = ['POINT', 'LINESTRING', 'POLYGON']; $geojsonNames = ['Point', 'LineString', 'Polygon']; $feature['geometry'] = $parser->parse($wkb); $feature['geometry']['type'] = str_replace($wkbNames, $geojsonNames, $feature['geometry']['type']); $feature['geometry']['coordinates'] = $feature['geometry']['value']; unset($feature['geometry']['srid']); unset($feature['geometry']['value']);
It could be possible to implement conversion to GeoJSON geometry object?
Thanks :)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I'm adding the following code to convert to GeoJSON object:
It could be possible to implement conversion to GeoJSON geometry object?
Thanks :)
The text was updated successfully, but these errors were encountered: