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

Upload Layer: the check on default style is weak. Use geometry type instead #3035

Closed
afabiani opened this issue May 10, 2017 · 3 comments
Closed

Comments

@afabiani
Copy link
Member

When creating a default sld for a new uploaded layer, the check on default style is weak and also prone to failures.

It would be better to check for geometry type instead.

afabiani pushed a commit to geosolutions-it/geonode that referenced this issue May 10, 2017
afabiani pushed a commit that referenced this issue May 10, 2017
afabiani pushed a commit that referenced this issue May 10, 2017
 - Fix for Issue #3035: Upload Layer: the check on default style is w…
afabiani pushed a commit that referenced this issue May 10, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE #3035
kalxas added a commit that referenced this issue May 10, 2017
- Fix for Issue #3035: Upload Layer: the check on default style is weak / align with 2.6.x Fix PR #3037
@capooti
Copy link
Member

capooti commented May 10, 2017

thanks, this will be really useful.
Though best way would be to do it by adding a geometry_type in layer as per #3007

simod added a commit that referenced this issue May 11, 2017
- Fix for Issue #3035: Upload Layer: the check on default style is weak
@afabiani
Copy link
Member Author

afabiani commented May 11, 2017 via email

@capooti
Copy link
Member

capooti commented May 11, 2017

In my opinion, we should use gdal to detect the geometry type of the shapefile in the python code as soon as the shapefile is uploaded rather than relying on an http request. Specially if the layer is registred in GeoServer asynchronously with celery

travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 20, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 23, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Oct 24, 2017
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
travislbrundage pushed a commit to travislbrundage/geonode that referenced this issue Jun 22, 2018
 - Fix kombu dep

 - Remove kombu dependencies

 - merge

 - Fix PR for ISSUE GeoNode#3035
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