[Opengeoscience-developers] geojson with attribute data

David E DeMarle dave.demarle at kitware.com
Wed Mar 20 13:07:18 EDT 2013


Just recognized another option and I think this one is most likely.

The data comes in supplemental to the three cartesian coordinates.
ie
{type: feature,
 geometry: { type:x,
coordinates:[x1,y1,z1,r1,g1,b1,u1,v1,w1...],[x2,y2,z2,r2,g2,b2,u2,v2,w2...]...}
}


David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


On Wed, Mar 20, 2013 at 12:05 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/opengeoscience-developers/attachments/20130320/04230a51/attachment.html>


More information about the Opengeoscience-developers mailing list