W3C home > Mailing lists > Public > public-poiwg@w3.org > September 2011

Re: POI data model examples serialised as JSON, XML, HTML5 & KML

From: Raj Singh <rsingh@opengeospatial.org>
Date: Thu, 22 Sep 2011 10:50:43 -0600
Cc: "public-poiwg@w3.org" <public-poiwg@w3.org>
Message-Id: <40BA462F-661E-4FBE-9F6D-CF6DBF84D22A@opengeospatial.org>
To: roBman@mob-labs.com
First of all, kudos for stepping forward with examples. Very brave! 

a few comments:

- can you put it on the wiki so we can all edit?

- this whole idea of pointing to alternate versions of the same thing is starting to worry me. This is functionality that seems better suited to a service interface/negotiation and not something that should be encoded in the file.

- you have different IDs in each format. Shouldn't the ID be the same and the href change? So the POI is should be http://mob-labs.com/poiwg/example01/pois/123 and the href for the XML encoding would be http://mob-labs.com/poiwg/example01/pois/123.xml, and the href for JSON would be http://mob-labs.com/poiwg/example01/pois/123.json, etc.

- you have a lot of Atom elements at the POIS object level that we haven't discussed. I like it but not sure that's the group consensus

- JSON: the POI object has gone away. So you just have the array POIS. I see what you're doing and that this array-style format doesn't need the POI object, but it doesn't "feel right" to me.

---
Raj
The OGC: Making location count...
http://www.opengeospatial.org/contact
Received on Thursday, 22 September 2011 16:51:20 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:05:22 UTC