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

Import feature: geoJSON not picking up categories/colors #126

Closed
arielsbecker opened this issue Nov 23, 2024 · 2 comments
Closed

Import feature: geoJSON not picking up categories/colors #126

arielsbecker opened this issue Nov 23, 2024 · 2 comments

Comments

@arielsbecker
Copy link

I'm using v1.7.0 on an Android phone.

When I try to import a geoJSON file, it works fine retrieving names and points (latlng), but for some reason it refuses to use their categories and colors, even if I first export a geoJSON with the exact schemas this app uses (i. .e. no tabs as spaces, the exact order for elements).

This is a sample of a larger geoJSON I wish to import into the app, as they are useful to navigate my area.

{ "features": [ { "geometry": { "coordinates": [ -58.33152750881527, -34.67674591555222 ], "type": "Point" }, "properties": { "categoryColor": "#C960B9", "categoryId": 1, "categoryName": "Rosa", "createdAt": "2024-11-22 22:24:46", "description": "ex Auchan", "id": 1 }, "type": "Feature" }, { "geometry": { "coordinates": [ -58.57546641698982, -34.6307060873766 ], "type": "Point" }, "properties": { "categoryColor": "#C960B9", "categoryId": 1, "categoryName": "Rosa", "createdAt": "2024-11-22 22:24:46", "description": "Hospital Posadas", "id": 2 }, "type": "Feature" }, { "geometry": { "coordinates": [ -58.58808117658982, -34.562552185474495 ], "type": "Point" }, "properties": { "categoryColor": "#FF0000", "categoryId": 2, "categoryName": "Rojo", "createdAt": "2024-11-22 22:24:46", "description": "Ruta 8 y Márquez", "id": 4 }, "type": "Feature" } ], "type": "FeatureCollection" }

Expected behavior: app succesfully importing pinpoints with their correct categories and colors.
Observed behavior: app imports the pinpoints, but defaults to a Red category/color for all of them.

@hauke96
Copy link
Owner

hauke96 commented Nov 23, 2024

Hi, thanks for the bug report. I was able to reproduce the issue and fixed it. I also create a new Version, which will be available in the next couple of days.

@hauke96 hauke96 closed this as completed Nov 23, 2024
@arielsbecker
Copy link
Author

Absolutely rad. Thank you very much!

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