Steve,

Thanks again for the info so far.

Testing this today we realise (not surprisingly) that both the size and
width of the symbol are now in miles.

Ideally we would like to set the radius of the circle in miles and the
width in pixels.

Is there any way of doing this?

Regards

Ian

-----Original Message-----
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] 
Sent: Monday, February 13, 2012 2:57 PM
To: Ian Walberg; mapserver-users@lists.osgeo.org
Subject: RE: Circles around points in miles

I jumped the gun on the geomtransform idea. The support is there but
because it operates at the style level buffer distances must be given in
pixels and there's no easy way to convert a map distance (e.g. 10 miles)
to pixels. I really should make some runtime constants (for example,
extent, scale and cellsize) available to expressions- then you could do
this.

Glad you picked option 2 to start.

Steve

-----Original Message-----
From: Ian Walberg [mailto:ian.walb...@airborne.aero]
Sent: Monday, February 13, 2012 4:38 PM
To: Lime, Steve D (DNR); mapserver-users@lists.osgeo.org
Subject: RE: Circles around points in miles

Steve,

Many thanks for the help and we have just tested option 2 and that
works.

We are using 6.x but are not exactly sure how to use the geomtransform
to do this. Do you have  an example?

Regards

Ian

-----Original Message-----
From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us]
Sent: Monday, February 13, 2012 9:37 AM
To: Ian Walberg; mapserver-users@lists.osgeo.org
Subject: RE: Circles around points in miles

Couple of options depending on version:

  1) 6.x: buffer the points using a style geomtransform
  2) all versions: use layer SIZEUNITS to draw a circle symbol in miles

I think option 1 is more flexible but option 2 is probably faster.

Steve

-----Original Message-----
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian
Walberg
Sent: Saturday, February 11, 2012 10:06 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Circles around points in miles


We need to draw circles of 50 and 100 miles around a list of points.

How can we do this? 

Thanks

Ian
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to