[postgis-users] WKT parsers

TECHER David davidtecher at yahoo.fr
Fri May 18 15:29:16 PDT 2007


Your idea from asJSON(), why not?

An interesting possibility could be

http://www.aurore.net/projects/php-json/

for PHP developpers for example

Paul Ramsey a écrit :
> Mark,
>
> If you have the opportunity, avoid parsing WKT and either (a) use an 
> internal postgis transform like AsSVG, AsGML, AsKML or (b) pull 
> text-based binary, and parse the WKB, which is a much more predictable 
> structure (using encode(asbinary(geom),'hex') ).
>
> I guess my answer could be phrased as a question: what are you going 
> to do with the WKT once you parse it? Perhaps PostGIS needs another 
> representation function (I'm sure we'll have an AsJSON soon enough...)
>
> p
>
> Mark Fredrickson wrote:
>> Hello everyone,
>>
>> Can anyone point me to any WKT parsers? I'd prefer JavaScript and PHP
>> implementations, but I'm not that picky. Hopefully, they'd have some
>> regexs I could steal, er, borrow. :-)
>>
>> TIA,
>> -Mark
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>
>


	

	
		
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son interface révolutionnaire.
http://fr.mail.yahoo.com



More information about the postgis-users mailing list