Skip to content
New issue

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

Empty geometries are not converted #10

Open
3nids opened this issue Mar 14, 2017 · 2 comments
Open

Empty geometries are not converted #10

3nids opened this issue Mar 14, 2017 · 2 comments

Comments

@3nids
Copy link

3nids commented Mar 14, 2017

Empty geometries (not the null geometries) like LINESTRING EMPTY have their SRID not converted.

For example:

SELECT ST_SRID(ST_GeomFromEWKB(ST_Fineltra(ST_SetSRID(ST_GeomFromText('LINESTRING EMPTY'),21781),'chenyx06.chenyx06_triangles', 'the_geom_lv03', 'the_geom_lv95')))

returns 21781 while it should be 2056.

@kandre
Copy link

kandre commented Aug 22, 2018

I have encountered the same problem, what's the status about this issue ?

@3nids
Copy link
Author

3nids commented Aug 22, 2018

If not fixed, you're up to filtering the empty geometry and use ST_SetSRID on them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants