-
Notifications
You must be signed in to change notification settings - Fork 61
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
Identify, Select fail on geojson mapsources when property is null #652
Comments
Can you get me some more details here? I've tried corrupting a few files in order try to recreate. I tried:
When I eliminate all properties, the feature does not render at all, which is maybe expected? |
Hmm, yes I should have supplied more details. So here's what i did today:
|
Looking at the census_cities.geojson in a text editor , all the properties for Farmington look ok (and no nulls), so I'm not sure why it fails. |
Looks like it is bad (?) geometry for the holes in the Farminton polygon. Looking at the ogr2ogr command I used (https://github.com/geomoose/gm3-demo-data/tree/main/demo/census), I may need to specify |
Digging in a little, I'm seeing the |
In the mean time, I'm OK with just saying to users "make sure your geometry is valid" |
and I thought I had filed an Issue on "Can't do identify on point or line in Drawing and Markup". Maybe it's buried in another Issue... |
It looks as if we drop the Should we create a separate MR to fix our data? I suspect that this is garbage-in-is-garbage-out and there won't be much of a way for us to assist the user in that case. |
Yes, I need to fix it and do a PR. |
Looking at the history of the files in gm3-demo-data, i had originally used MULTIPOLYGON, but after loading the data into GeoServer inserts were a problem. |
🤔 That's interesting. I would think it would have an issue with mixed types (say Polygons and MultiePolygons) but usually a single time doesn't phase it. |
It could have been GM was telling it to insert a POLYGON and GeoServer expected MULTIPOLYGON only? Maybe there is a "promote geometry" switch in GeoServer... |
At least I think that is the problem. To test use geojson files in geomoose/gm3-demo-data#8
The text was updated successfully, but these errors were encountered: