<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>I've cross-posted 
this to various lists, so I'm sorry to those who are getting 
duplicates.</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>I'd like to beef up 
my Mapserver applications with some geoprocessing functionality - buffers at 
present, other functions will follow.&nbsp; For now I am playing with PostGIS 
and having great sucess, IF my features are all stored in the 
database.</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>What I'd like to be 
able to do though, is take a feature from WMS getFeatureInfo or WFS and be able 
to buffer that.&nbsp; As a test of this, I took the GML from a getFeatureInfo 
request and parsed it&nbsp;manually to be a WKT string.&nbsp; Then used PostGIS 
to run the buffer.&nbsp; Apart from slight precision differences, it appeared to 
be close to what PostGIS would have done with it's own feature (the WMS request 
was done against the same feature through MapServer).&nbsp; </FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>Now that I confirmed 
this is all possible, what I am missing is that I'd like to be able to 
</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>a..&nbsp;do the 
conversion from GML to WKT with some script/library</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>b.. do this with a 
GML stream</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>c.. ultimately do 
this without PostGIS database dependancy.</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>I figure that GEOS 
can do the geometry format conversions, is this right?</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>Has anyone written a 
library for linux/windows that will let me talk to it with 
PHP?</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>I'm prodding these 
lists in hopes of finding out what else is going on out there in this 
area.&nbsp;It would be fabulous if this was all built into Mapserver, 
but&nbsp;from what I can tell, it's just a thought right 
now.&nbsp;</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2>Thanks!!</FONT></SPAN></DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=690332715-07102004><FONT face=Arial size=2>Liz 
Godwin</FONT></SPAN></DIV></BODY></HTML>