[Opengeoscience-developers] geojson with attribute data

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed Mar 20 12:05:15 EDT 2013


I think second would be more accepted (based on my understanding of
openlayers parsers)

{type: feature,
 geometry: {type:x, coordinates: ...}
 properties: {{geomattributes: ...}}
}

On Wed, Mar 20, 2013 at 11:09 AM, David E DeMarle
<dave.demarle at kitware.com> wrote:
> Anyone have an example of or know the convention for data attached to
> geojson data?
>
> The two options I think are hanging the new members off the geometry object,
> or hanging them off the containing object's properties member. I don't know
> which one would be more accepted.
>
> {type: feature,
>  geometry: { type:x, coordinates:..., geomattributes:...}
> }
>
> vs
>
> {type: feature,
>  geometry: {type:x, coordinates: ...}
>  properties: {{geomattributes: ...}}
> }
>
> thanks
>
> David E DeMarle
> Kitware, Inc.
> R&D Engineer
> 21 Corporate Drive
> Clifton Park, NY 12065-8662
> Phone: 518-881-4909
>
> _______________________________________________
> Opengeoscience-developers mailing list
> Opengeoscience-developers at public.kitware.com
> http://public.kitware.com/cgi-bin/mailman/listinfo/opengeoscience-developers
>



-- 
| Aashish Chaudhary
| R&D Engineer
| Kitware Inc.
| www.kitware.com



More information about the Opengeoscience-developers mailing list