GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.43k stars 1.12k forks source link

Math domain error if a point layer has one feature #1057

Closed simod closed 11 years ago

simod commented 11 years ago

In geoexplorer this happens if a point layer has just one feature.

capooti commented 11 years ago

I cannot replicate the problem. I created a shapefile with just one pint feature, and uploaded it to geonode. Both gxp in layer and map page are correctly working. Maybe this can be related to your particular shapefile?

simod commented 11 years ago

uhm, I created a shapefile in qgis with one field called name and till there was one feature I got the issue.

Another stuff is that the field does not appear in the create new feature tool of gxp. It does in the info tool though.

capooti commented 11 years ago

share the shapefile here and I can test

simod commented 11 years ago

Paolo I tested it again and looks solved. Sorry, closing it.