[Chameleon] save polygons

Bart van den Eijnden bartvde at xs4all.nl
Sun Jul 24 13:00:36 EDT 2005


It's not one of those things you can simply explain in a few lines. This  
will require lots of programming, probably in the form of a Chameleon  
widget. If you are unfamiliar with any of this stuff, it could be a hell  
of a job.

So:

1) learn how to create your own widget. There should be some materials  
 from the MUM 3 meeting, although I haven't seen them yet ...

2) learn how to read out the coordinates from the ROIFeatureTool

3) turn those coordinates into GML using PHP

4) study the php_ogr module (http://dl.maptools.org/dl/php_ogr/) or study  
how Geoserver (http://geoserver.sourceforge.net) works, to get the GML  
into a spatial database or convert it to a Mapinfo file  
(geoserver.sourceforge.net).

Best regards,
Bart

On Sun, 24 Jul 2005 18:03:05 +0200, Mehdi Kiman <oubinny at hotmail.com>  
wrote:

> It requires some programming, but i don't know how to do this ?
> I still search a solution...I want just to save my ROI draws in a  
> database or with GML.
> Can you give me others explains ?
>
> Thanks a lot
> faithfully
> Mehdi
>
>>> From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
>>> To: <oubinny at HOTMAIL.COM>,<MAPSERVER-USERS at LISTS.UMN.EDU>
>>> CC: <chameleon at lists.maptools.org>
>>> Subject: Re: [UMN_MAPSERVER-USERS] [Chameleon] save polygons
>>> Date: Thu, 21 Jul 2005 14:07:52 +0200
>>>
>>> Mehdi, did you notice you changed to the Mapserver-users list instead  
>>> of the Chameleon list?
>>>
>>> It is not impossible, it requires some programming.
>>>
>>> Best regards,
>>> Bart
>>>>> Bart van den Eijnden
>>> Syncera IT Solutions
>>> Postbus 270
>>> 2600 AG  DELFT
>>>
>>> tel.nr.: 015-7512436
>>> email: BEN at Syncera-ITSolutions.nl
>>>
>>> >>> Mehdi Kiman <oubinny at HOTMAIL.COM> 07/21/05 02:04pm >>>
>>> So, it's really impossible to save ROI objects.
>>> my goal is only to save current user work. I must to resolve this  
>>> problem
>>> with Oracle database or WFS/WMS or MapInfo files.
>>>
>>> Any solutions ?
>>>
>>> thanks again
>>> Mehdi
>>>
>>>
>>>
>>> >From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
>>> >To: <oubinny at hotmail.com>
>>> >CC: <chameleon at lists.maptools.org>
>>> >Subject: Re: [Chameleon] save polygons
>>> >Date: Thu, 21 Jul 2005 13:50:34 +0200
>>> >
>>> >Hi,
>>> >
>>> >what the ExtractWFS widget does is make an extraction from a layer  
>>> already
>>> >in the map. Assuming you have got eg a provinces layer of your  
>>> country, you
>>> >can draw an ROI in the map, eg a rectangle, and then the provinces  
>>> inside
>>> >that rectangle can be saved into GML or a shapefile.
>>> >
>>> >So this is only extracting existing features, not putting newly  
>>> digitized
>>> >features into a file or database, which is what I assume you want to  
>>> do.
>>> >
>>> >Best regards,
>>> >Bart
>>> >
>>> >Btw please reply to the whole list.
>>> >
>>> >Bart van den Eijnden
>>> >Syncera IT Solutions
>>> >Postbus 270
>>> >2600 AG  DELFT
>>> >
>>> >tel.nr.: 015-7512436
>>> >email: BEN at Syncera-ITSolutions.nl
>>> >
>>> > >>> "Mehdi Kiman" <oubinny at hotmail.com> 07/21/05 01:45pm >>>
>>> >Hello Bart,
>>> >Can i use  ExtractWFSData widget. Is it possible ton export the XML  
>>> file
>>> >(GML) directly to MapInfo. Prehaps by using WFS/WMS webservices.
>>> >
>>> >From chemeleon Help :
>>> >The Extract WFS Data widget allows the user to extract data based on  
>>> the
>>> >current selected layer and ROI. Currently the following formats are
>>> >supported: GML Shape.
>>> >
>>> >Thanks a lot
>>> >Mehdi
>>> >
>>> > >From: "Bart van den Eijnden" <BEN at Syncera-ITSolutions.NL>
>>> > >To: <oubinny at hotmail.com>,<chameleon at lists.maptools.org>
>>> > >Subject: Re: [Chameleon] save polygons
>>> > >Date: Thu, 21 Jul 2005 13:12:53 +0200
>>> > >
>>> > >Chameleon is not an edit application, so you will have to add this  
>>> to
>>> > >Chameleon yourself or hire someone to do it.
>>> > >
>>> > >One option would be getting GML out of the ROI widget (I don't  
>>> think it
>>> >can
>>> > >do this at the moment), and posting it to a Geoserver WFS which  
>>> connects
>>> >to
>>> > >Oracle. Optionally you could also probably also use the php_ogr  
>>> module to
>>> > >transform the GML into Mapinfo format or Oracle Spatial.
>>> > >
>>> > >Quite a difficult task though I think, maybe even something like a  
>>> week's
>>> > >work.
>>> > >
>>> > >Best regards,
>>> > >Bart
>>> > >
>>> > >Bart van den Eijnden
>>> > >Syncera IT Solutions
>>> > >Postbus 270
>>> > >2600 AG  DELFT
>>> > >
>>> > >tel.nr.: 015-7512436
>>> > >email: BEN at Syncera-ITSolutions.nl
>>> > >
>>> > > >>> "Mehdi Kiman" <oubinny at hotmail.com> 07/21/05 12:56pm >>>
>>> > >Hello,
>>> > >
>>> > >I use chameleon for making my application.
>>> > >I wish to save my drawing operations in a mapInfo file (.TAB) or in
>>> >Oracle
>>> > >Database.
>>> > >For exemple, i draw a polygon in my map with chameleon ROI widget  
>>> and
>>> >save
>>> > >it.
>>> > >
>>> > >Can you give me some help please ?
>>> > >
>>> > >Thanks
>>> > >Mehdi
>>> > >
>>> > >
>>> > >_______________________________________________
>>> > >Chameleon mailing list
>>> > >Chameleon at lists.maptools.org
>>> > >http://lists.maptools.org/mailman/listinfo/chameleon
>>> > >
>>> >
>>> >
>>> >
>>>
>
>
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>



-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/


More information about the Chameleon mailing list