[GeoJSON] Greetings and schemas

Tom MacWright tom at macwright.org
Tue May 27 08:36:03 PDT 2014


If the goal is validation, you might be interested in (drum roll for
self-link) https://github.com/mapbox/geojsonhint which is usable as a
website, javascript library (client or server), and binary utility.


On Tue, May 27, 2014 at 11:27 AM, Simser, Bil
<bil.simser at fortisalberta.com>wrote:

> Hi Erik,
>
> Totally understand and I'm the last person to want JSON to even begin to
> resemble XML. I like simplicity. I was just looking for a good way to
> validate GeoJSON files (without going to an online service).
>
> FWIW, http://geojsonlint.com/ is good for this and can be invoked with a
> POST.
>
> Thanks.
>
> -----Original Message-----
> From: Erik Wilde [mailto:dret at berkeley.edu]
> Sent: Tuesday, May 27, 2014 9:24 AM
> To: Simser, Bil; geojson at lists.geojson.org
> Subject: Re: [GeoJSON] Greetings and schemas
>
> hello bill.
>
> On 2014-05-27, 7:24 , Simser, Bil wrote:
> > First time on the list so be gentle. I’m currently building a .NET
> > library that converts KML to GeoJSON (basically a .NET version of a
> > JavaScript project but I needed it for client/server operations). As
> > I’m working through the project I found an initiative around creating
> > schemas for JSON (http://json-schema.org/) and thought it might be
> > useful to have a GeoJSON schema for validation (currently I’m just
> > validating through code checks in unit tests).
>
> the issue with JSON schemas is that there is no stable language to write
> them in. there were and are a couple of proposals, but there isn't the one
> language do rule them all such as DTD or XSD for XML.
>
> the reason is that parts of the JSON community don't like the idea of a
> schema language at all. there is a lingering perma-thread on the IETF JSON
> list, and because of the heated debates, i think nobody ever had the energy
> to really follow through with a proposal and define and standardize a
> schema language.
>
> that doesn't mean that there aren't scenarios where schemas might be
> useful. just don't be surprised to get passionate reactions when you bring
> up the idea of schemas and a schema language in JSON-land.
>
> cheers,
>
> dret.
>
> --
> erik wilde | mailto:dret at berkeley.edu  -  tel:+1-510-2061079 |
>             | UC Berkeley  -  School of Information (ISchool) |
>             | http://dret.net/netdret http://twitter.com/dret |
> _______________________________________________
> GeoJSON mailing list
> GeoJSON at lists.geojson.org
> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geojson.org/pipermail/geojson-geojson.org/attachments/20140527/ce07691b/attachment.htm>


More information about the GeoJSON mailing list