[Mapserver-users] Save view as shapefile
Vinko Vrsalovic
vinko at cprsig.cl
Tue Feb 25 11:15:24 PST 2003
With PostGIS & MapScript I've done exactly that, with clipping and all,
using the bounding boxes and truly_inside() PostGIS function.
That works only for vectors, though. For images i guess you'd have to
use the language of choice GD features to cut the appropriate extent
of the image...
On Tue, Feb 25, 2003 at 12:42:06PM -0600, Steve Lime wrote:
> Nothing out-of-the-box if that's what you're looking for. All the tools
> are certainly there
> to do it via MapScript, at least with shapefiles. The functionality
> really boils down to a
> query and you can save selected shapes to a new shapefile with no
> problem (cliiping
> is not supported however). It would be pretty easy to write a Perl
> script to do this in
> a generic fashion.
>
> Steve
>
> Stephen Lime
> Data & Applications Manager
>
> Minnesota DNR
> 500 Lafayette Road
> St. Paul, MN 55155
> 651-297-2937
>
> >>> Stefan Schwarzer <stefan.schwarzer at grid.unep.ch> 02/25/03 12:24PM
> >>>
> Hi everybody,
>
> I read about the PDF-export. Very interesting feature.
>
> In the same context I would like to ask if somebody knows a way to save
> the
> current view (from a user perspective) in the original format, i.e.
> TIFF
> and Shapefile. I know that this feature exists with ArcIMS. It is a
> very
> neat one if one wants to enable users to download customized views. Is
>
> there a "clip by rectangle/view" function or something similar?
>
> Thanks for any reply,
>
> Stefan
>
>
> _______________________________________
>
> Stefan Schwarzer
> Consultant on GEO
>
> UNEP/DEWA/GRID-Geneva
> Chemin des Anemones 11
> CH - 1219 Chatelaine
> Switzerland
>
> Tel: (+41) 22.917.83.49
> Fax: (+41) 22.917.80.29
>
> Email: stefan.schwarzer at grid.unep.ch
> Internet: http://geodata.grid.unep.ch/
> _______________________________________
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
--
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl
More information about the MapServer-users
mailing list