[postgis] GML generation scripts and question: attachments
Hisaji ONO
hi-ono at mn.xdsl.ne.jp
Thu Jan 10 07:17:02 PST 2002
Hello, Mr. Rogers.
Thank you for your nice php script.
I've uploaded WKT-to-SVG php script. Howeber compared to you script, my
script was too complicated and ugly. Too many usages of PostGIS functions.
So I'd like to improve my script to refer your script.
Regards.
----- Original Message -----
From: "Nedjo Rogers" <nedjo at miningwatch.org>
To: <postgis at yahoogroups.com>
Sent: Thursday, January 10, 2002 5:03 AM
Subject: [postgis] GML generation scripts and question: attachments
> [this time with attachments!]
>
> Attached is a preliminary script for generating Geography Markup Language
> (GML) 2.0 content from well-known text (WKT) representations of the sort
> generated by PostGIS (i.e., that of the OpenGIS Simple Features
> Specification for SQL).
>
> The script is called "convertgeom.php"; "example.php" is an example file.
> To use, save both in a php-enabled web directory and open example.php.
>
> For maximum portability (and, perhaps, lower server overhead), I've chosen
> to convert the raw WKT instead of using a series of queries to extract
> sub-geometries (e.g., rings of polygons or elements of MULTI geometries).
> But the GML polygon format requires a distinction between the "outer" and
> any "inner" rings. In this script, I've assumed the first ring given in
the
> WKT is the outer one.
>
> Is this a valid assumption--or is the order of the rings arbitrary? (If
the
> latter, a test would be necessary to determine order.)
>
> Nedjo Rogers
>
>
>
> To unsubscribe from this group, send an email to:
> postgis-unsubscribe at yahoogroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Tiny Wireless Camera under $80!
Order Now! FREE VCR Commander!
Click Here - Only 1 Day Left!
http://us.click.yahoo.com/WoOlbB/7.PDAA/ySSFAA/PhFolB/TM
---------------------------------------------------------------------~->
To unsubscribe from this group, send an email to:
postgis-unsubscribe at yahoogroups.com
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
More information about the postgis-users
mailing list