ubergesundheit / dialogmap

Spatially enhanced dialogs
Other
9 stars 2 forks source link

JSON Response of creating a Contribution does not follow GeoJSON and Simplestyle spec #2

Open ubergesundheit opened 10 years ago

ubergesundheit commented 10 years ago

GeoJSON: ty instead of type. This is somewhat related to Rails..

Simplestyle: all properties are strings. This is related to Postgres hstore. Look if this is a Problem for Leaflet/Mapbox.js

ubergesundheit commented 10 years ago

GeoJSON: ActiveRecord uses type as field for single inheritance situations (http://api.rubyonrails.org/classes/ActiveRecord/ModelSchema/ClassMethods.html#method-i-inheritance_column)