Bob or Brent, it would be great if you can record this trick on the
MapServer wiki (https://github.com/mapserver/mapserver/wiki); as this
thread will be long lost shortly.
Thanks,
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
On 2014-12-20 11:48 AM, Brent Fraser wrote:
Bob,
Years ago we had experimented with using Mapserver to do automated
mapping (to produce printed maps 34 x 46 inches). The maps were of
pipeline alignments and needed to be rotated so the pipeline was roughly
parallel to the X axis of the paper. And they required imagery as a
backdrop. And they required a [rotated] labelled graticule. In the end
we had to use a combination of Mapserver, Arcview, and custom s/w.
Let me know how your efforts turn out...
Best Regards,
Brent Fraser
On 12/19/2014 12:43 PM, Basques, Bob (CI-StPaul) wrote:
Hi Brent,
Neat trick there, and straightforward too.
I had thought about doing some sort of pipeline for drawing with
MapServer, by simply drawing different grid areas at each step in the
pipeline. One step for each side of the map for example. I know I
can do it with MapSCRIPT, but being able to pass in a image to
MapServer would be the cool way.
Bobb
*From:*Brent Fraser [mailto:bfra...@geoanalytic.com]
*Sent:* Friday, December 19, 2014 10:58 AM
*To:* Basques, Bob (CI-StPaul); mapserver-users@lists.osgeo.org
*Subject:* Re: [mapserver-users] Map collaring techniques.
Bob,
In the past I've dabbled with having layers to " erase"the map data
around the perimeter:
LAYER
NAME "Margin"
TRANSFORM FALSE
STATUS DEFAULT
TYPE POLYGON
CLASS
COLOR 255 255 255
END
FEATURE
POINTS 0 0 0 600 70 600 70 0 0 0 END
POINTS 70 0 70 70 800 70 800 0 70 0 END
POINTS 70 600 800 600 800 530 70 530 70 600 END
POINTS 730 70 730 530 800 530 800 70 730 70 END
END
END
#-----------------------------------------------------------
LAYER
NAME "NeatLine"
TRANSFORM FALSE
STATUS DEFAULT
TYPE LINE
CLASS
COLOR 0 0 0
END
FEATURE
POINTS 70 70 70 530 730 530 730 70 70 70 END
END
END
Also I've experimented with adding FORMATOPTIONs to OUTPUTFORMAT code
(see
http://lists.osgeo.org/pipermail/mapserver-dev/2009-January/008050.html)
How big do you plan to make your maps? Will they include imagery?
Best Regards,
Brent Fraser
On 12/19/2014 8:46 AM, Basques, Bob (CI-StPaul) wrote:
All,
Anyone have any insights into using/modifying MapServer to label
maps collar wise (along the edges)??
I’m interested in applying USNG collaring to maps in general as a
grid overlay. I’m pretty sure I ca do this with PERL, but all the
re-projection capabilities in MapServer make it much more
attractive. There are also quite a fe desires finishing options
that I would like to include related to rotation and alignment.
I’m open to applying the collar on or off (outside of ) the map
itself.
I’ve worked with both the ESRI and AutoDesk tools for
accomplishing the same results as well. AutoDesk has a fairly
well thought out XML file format for defining the grid labeling,
it’s almost SLD-ish as a matter of fact. I’ve also been involved
in a couple of Javascript mashups to provide USNG overlays to
maps, but they aren’t hardcopy centric, which is what I need to
focus on.
Thanks
Bobb
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users