[Geomoose-users] feature editing - able to add polygons, not able to delete or edit.

Atif Butt matifbutt at gmail.com
Tue Nov 29 14:52:29 EST 2011


Hi Dan

Is it possible for you to have a look on the link

http://99.243.192.221/geomoose2/geomoose.html

Tool is shown  (Add polygon) on the very left hand side on the toolbar.

The page is not shown on my IE.

It is opening on firefox or chrome.


Note: On the media tab as you mentioned I have got

http://99.243.192.221/cgi-bin/mapserv.exe?map=%2Fms4w%2Fapps%2Fgeomoose2%2Fmaps%2F%2Fdevelopment%2Ftest_polygons%2Ftest_polygons.map&layers=polygons&mode=map&GEOMOOSE_REFRESH=1322595248591&mapext=474800.607656+4918325.476731+500000.607656+4947629.476731&imgext=474800.607656+4918325.476731+500000.607656+4947629.476731&map_size=1050+1221&imgx=525&imgy=610.5&imgxy=1050+1221



link giving the error as follow


msDrawMap(): Image handling error. Failed to draw layer named 'polygons'.
msPOSTGISLayerWhichShapes(): Query error. Error executing POSTGIS SQL
statement (in FETCH ALL): DECLARE mycursor BINARY CURSOR FOR SELECT
asbinary(force_collection(force_2d(wkb_geometry)),'NDR'),polygon_id::text
from (select polygon_id, title, owner, astext(wkb_geometry) as
wkt_geometry, wkb_geometry from test_polygons) as mytable WHERE
wkb_geometry && setSRID('BOX3D(474800.607656 4918323.52058229,500000.607656
4947631.43287971)'::BOX3D, find_srid('','test_polygons','wkb_geometry') )
-ERROR: Operation on two geometries with different SRIDs



Regards
Atif



On Tue, Nov 29, 2011 at 1:37 PM, Dan Little <danlittle at yahoo.com> wrote:

> Using firefox, get the pink screen to happen.
>
> Goto Tools -> Page Info, click on the media tab.
>
> Scroll until you find the entry calling mapserver with your mapfile.  Open
> that into a new tab, then check what error it displays.  If you can
> diagnose that error, then great. If you cannot, post the error here.
>
>   ------------------------------
> *From:* Atif Butt <matifbutt at gmail.com>
> *To:* Brent Fraser <bfraser at geoanalytic.com>; danlittle at yahoo.com
> *Cc:* "geomoose-users at lists.osgeo.org" <geomoose-users at lists.osgeo.org>
> *Sent:* Tuesday, November 22, 2011 3:03 PM
> *Subject:* Re: [Geomoose-users] feature editing - able to add polygons,
> not able to delete or edit.
>
> for further investigation, the mapfile defined inside this tag not loading
> as a layer, and outcome become pink background
>
> <map-source name="poly_editor" type="mapserver">
>         <file>./development/test_polygons/test_polygons.map</file>
>         <layer name="polygons"/>
> </map-source>
>
>
> my map file is bellow:
>
> MAP
>  SIZE 400 400
>  EXTENT 427632.500000 4893613.330000 560300.922104 5015936.680000
>  UNITS METERS
>  SYMBOLSET '../symbols/symbol.sym'
>  STATUS ON
>  TRANSPARENT TRUE
>  LAYER
>  NAME 'polygons'
>  TYPE POLYGON
>  STATUS ON
>  CONNECTIONTYPE POSTGIS
>  CONNECTION 'host=localhost dbname=postgis user=postgres password=abcd1234'
>  DATA 'wkb_geometry from (select polygon_id, title, owner,
> astext(wkb_geometry) as wkt_geometry, wkb_geometry from test_polygons) as
> mytable using unique polygon_id'
>  CLASS
>  STYLE
>  SYMBOL 'circle'
>  OUTLINECOLOR 255 255 0
>  SIZE 10
>  END
>  END
>  METADATA
>  'identify_record' 'identify.html'
>  END
>  END
> END
>
>
>
>
> Any suggestion
>
> Atif
> On Tue, Nov 22, 2011 at 1:29 PM, Atif Butt <matifbutt at gmail.com> wrote:
>
> when I click on checkbox "Editing Layers - > polygons"  it isnot showing
> up anything except a pink blank layer as shown in the figure (add polygon
> 3-4).
> It seems to me that polygon layer is not adding properly.
>
> In steps Add polygon 1-2, my database storing the values in test_polygons
> table.
>
> Regards
> Atif
>
>
> On Tue, Nov 22, 2011 at 10:18 AM, Brent Fraser <bfraser at geoanalytic.com>wrote:
>
>  It looks like Geomoose is having trouble rendering the layer.  What  does
> your browser's debugger show is returned when that layer is turned on?
>
> Best Regards,
> Brent Fraser
>
>
> On 11/21/2011 11:54 PM, Atif Butt wrote:
>
> Hi All
>
> I have performed all the steps described for feature editor. I havent got
> any result back, except blank layer (as shown in pictures "add polygon 1 -
> 4")
>
>
> Kindly if anybody have solved this probelm then let me know.
>
> Regards
> Atif
>
>
> _______________________________________________
> Geomoose-users mailing listGeomoose-users at lists.osgeo.orghttp://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20111129/fc7b36ba/attachment.html


More information about the Geomoose-users mailing list