How to add temporary poligons on map and process them?

Arnulf Christl arnulf.christl at CCGIS.DE
Fri Jan 14 12:59:26 EST 2005


Janeks Kamerovskis wrote:
> Hi, List!
>
> My I idea on subject is:
> 1) Temp obj on map:
>         a) draw using client side (f.ex. DIV objects using javascript),
>         b) draw using phpMapScript (I like this option better, but is it possible?)
> 2) Process in DB:
>         I am planing to do it by using phpMapScript and WKT formats to input them
> in SQL DB.
> Note: Polygon points mainly will be acuired trought processing "textual"
> info from
> input fields. Just is some cases there could be digitizing on screen.
>
> Any ideas of the best way for point 1)?
>
> brgds
> Janeks
>

Hi,
do you plan to use existing software or do you want to implement your
own stuff?

You find a version that displays a geometry with JavaScript and saves it
as WKT in a PostgreSQL/PostGIS database in Mapbender in the cvs:
(mod_saveWKT.php) it never left beta
http://cvs.sourceforge.net/viewcvs.py/mapbender/mapbender/http/php/mod_saveWKT.php?rev=1.1&view=log

The newest development obtains the geometry from OGC WFS servers, it can
read and query any WSF. We are currently extending it to also handle
transactional requests and store geometries with GeoServer WFS-T.

You can see the WFS version at work here with a UMN MapServer as both
WFS and WMS:
http://www.mapbender.org/demoserver.html
(it still doesn't zoom correctly with MS IE though :-)

Without iframe:
http://wms1.ccgis.de/mapbender2/frames/login.php?name=ccgis_de&password=ccgis_de&mb_user_myGui=PLZ

Best, Arnulf.

--
------------------------
Arnulf B. Christl
------------------------
http://www.ccgis.org
http://www.mapbender.org
------------------------



More information about the mapserver-users mailing list