Re: [mapserver-users] polygon select

2009-12-17 Thread Jan Hartmann
Hi Rich, Not sure if this is what you mean, but could GeoExt (http://geoext.org/) be something for you? Greetings from a snowy Amsterdam, Jan On 17-12-2009 1:57, Richard Greenwood wrote: I need to create a tool that will allow the user to draw an arbitrary polygon, and the select objects in

RE: [mapserver-users] polygon select

2009-12-17 Thread Lime, Steve D (DNR)
Hi Rich, you can do this with the CGI or MapScript and it's quite easy with OpenLayers. All versions support queries using polygons and version 5.6 takes a WKT representation. Here's an example url: http://yourserver.com/cgi-bin/mapserv56?map=parcels.map&mapext=295574.87922705%20171.01449

[mapserver-users] RE: logo colors

2009-12-17 Thread Lime, Steve D (DNR)
Thanks for the feedback Charlton, I appreciate it. In black and white you can imagine black water and white land or vice versa. Might also lose the map the map altogether and just go with the cells/folds... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:

[mapserver-users] How to draw a circle using MapScript?

2009-12-17 Thread Helen Eskina
Hello List, I want to be able to draw a circle dynamically using PHP MapScript. The circle is defined by the coordinates of the centre and the radius in kilometers. I realize that the circle is a polygon and I should probably calculate all points. What is the best way to do it? I would really

Re: [mapserver-users] How to draw a circle using MapScript?

2009-12-17 Thread Dan Little
Totally off the cuff $shape = ms_shapeObjFromWKT('POINT('+$x+' '+$y+')'); $shape = $shape->buffer($radius); > >From: Helen Eskina >To: mapserver-users@lists.osgeo.org >Sent: Thu, December 17, 2009 3:50:20 PM >Subject: [mapserver-users] How to draw a circle using MapScript? > > > >> >Hello Li

RE: [mapserver-users] Lines at Tile borders

2009-12-17 Thread Lime, Steve D (DNR)
You might try a more recent version. Either 5.4.2 or 5.6 to see if the bug has been fixed. I don't recall off the top of my head... Using metatiles (that is, a tile rendered intentionally large and then clipped) is one way around problems like this and tiling tools like TileCache support that

RE: [mapserver-users] How to draw a circle using MapScript?

2009-12-17 Thread Lime, Steve D (DNR)
In another approach, I believe MapServer wants you to define a bounding box for the circle by creating a line shape with the first point at the UL coordinate of that box and the second coordinate at the LR coordinate of the box. So you'd offset your center point .5 KM to create those points. You

RE: [mapserver-users] How to draw a circle using MapScript?

2009-12-17 Thread Lime, Steve D (DNR)
After mulling this over I think I'm wrong. Conceptually it's correct but the points represent the center and a point on the circle I think. I'll post a stand-alone example later tonite... Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-use

[mapserver-users] Re: mapserver-users Digest, Vol 23, Issue 57

2009-12-17 Thread Stephen Davies
I use the javascript libraries that come with the mapserv demo to do "red lining" on mapserv maps to create polygons which can then be used in a postgis database search. The libraries I use are cbe, mapserv, dbox, utils and wz_jsgraphics. HTH, Stephen Davies On Friday 18 December 2009 01:06:26