[Geojson] GeoJSON in php - proposed implementation

Pierre GIRAUD bluecarto at gmail.com
Tue Nov 25 06:44:14 PST 2008


David, Christoph and others,

We would be pleased if you can help.
If you don't have any comments on the classes design, we'll probably
get back soon with some starting code.

Regards,
Pierre

On Tue, Nov 25, 2008 at 9:39 AM, Christoph Baudson
<christoph.baudson at wheregroup.com> wrote:
> Hello Pierre and David,
>
> the Mapbender project I'm working on already uses GeoJSON to some extent,
> but the PHP code is more or less a project hack (we use it for converting
> GML2 into GeoJSON and vice versa). I'm not even sure it handles all
> available geometry types, but it was designed to handle multipolygons with
> enclaves, see a demo here
>
> http://mapbender.wheregroup.com/mapbender_digitize/frames/login.php?&mb_user_myGui=gui_digitize&name=demo&password=demo
>
> (You can fetch geometries by a WFS request, use the buttons on the upper
> right; if you have Firebug, you'll see that mod_wfs_result.php returns
> GeoJSON. You can also write geometries via WFS-T)
>
> To make a long story short, I would also be interested and willing to
> collaborate.
>
> Christoph
>
>
> David William Bitner schrieb:
>>
>> Pierre,
>>
>> I would be interested in and willing to help out.
>>
>> David
>>
>> On Mon, Nov 24, 2008 at 7:53 AM, Pierre GIRAUD <bluecarto at gmail.com
>> <mailto:bluecarto at gmail.com>> wrote:
>>
>>    Hi all,
>>
>>    With this message I'm trying to get help or at least comments by
>>    people interested in having a GeoJSON implementation in PHP.
>>
>>    A new project of ours necessitates that we implement the GeoJSON specs
>>    in PHP (to be available as a symfony plugin).
>>
>>    We would like to implement this as a library into mapfish, and with a
>>    possible standalone use.
>>
>>    First of all, we would be happy to have feedbacks by people who
>>    already tried such an implementation.
>>
>>    In case there are none, following is detailed the classes we'll write
>>    to achieve this :
>>
>>     /*
>>     * A class to let us convert geometry coordinates into wkb
>>     * and back
>>     */
>>     - class WKB
>>     - method decode
>>     - method encode
>>
>>     /**
>>     * Classes to manage geometries
>>     */
>>     - class Geometry
>>     - class Point extends Geometry
>>     - class LineString extends Geometry
>>
>>     /**
>>     * Class to read or write GeoJSON features
>>     */
>>     - class GeoJSON
>>     - method decode
>>     - method encode
>>
>>    Any comment or feedback on this appreciated.
>>
>>    Regards,
>>    Pierre
>>    _______________________________________________
>>    Geojson mailing list
>>    Geojson at lists.geojson.org <mailto:Geojson at lists.geojson.org>
>>    http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>>
>>
>>
>>
>> --
>> ************************************
>> David William Bitner
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Geojson mailing list
>> Geojson at lists.geojson.org
>> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>>
>
>
> --
> ********************************************
> Where2B-Konferenz
> Die Geo-IT Konferenz der WhereGroup
> vom 9.-10. Dezember 2008 in Bonn
> Web: www.where2b-conference.com
> ********************************************
> _______________________________________
>
> W h e r e G r o u p GmbH & Co. KG
>
> Siemensstraße 8
> 53121 Bonn
> Germany
>
> Christoph Baudson
> Anwendungsentwickler
>
> Fon: +49 (0)228 / 90 90 38 - 15
> Fax: +49 (0)228 / 90 90 38 - 11
> christoph.baudson at wheregroup.com
> www.wheregroup.com
> Amtsgericht Bonn, HRA 6788
> _______________________________________
>
> Komplementärin:
> WhereGroup Verwaltungs GmbH
> vertreten durch:
> Olaf Knopp, Peter Stamm
> _______________________________________
>
> _______________________________________________
> Geojson mailing list
> Geojson at lists.geojson.org
> http://lists.geojson.org/listinfo.cgi/geojson-geojson.org
>



More information about the GeoJSON mailing list