[mapserver-users] Embed map (detail map) in mapserver output?

Stephen Woodbridge woodbri at swoodbridge.com
Wed Feb 8 16:15:51 PST 2017


ImageMagick, and I'm sure others do also, have the ability to composite 
multiple images in one. Not to mention tools to scale, warp, filter, 
rotate, annotate, etc any of the image components. I would think that if 
you can up with a xml definition for your composited page, that it would 
be really straight forward to read the definition (aka template) can 
then composite and annotate page. If you did it in perl or Python, you 
could make calls to mapserver or WMS services for pulling in the pieces.

I think the hard part might be coming up with the template definitions 
but you care already doing that in your hard coding the pipeline. Once 
you have the components defined then is just a mater of collection the 
components and compositing the end result.

-Steve W

On 2/8/2017 5:52 PM, Basques, Bob (CI-StPaul) wrote:
> Hi Steve,
>
> It’s for compositing for printing.  I want to set up some page templates
> for a map book where any of the pages can be run off when an update
> occurs in a particular location in the global map, vs printing the whole
> book.
>
> On a more detailed level, this is starting to get into a print tool,
> which I’ve been pondering building for online use.  The idea would be to
> mix and match (stack) different print features on a canvas for eventual
> printing.  My need right now is for something as an API, but I can see
> this easily morphing into a user interface.
>
> I actually already do some of those other items like ,collars and grids
> with MapServer, they just use different mapfiles for each.  Just trying
> to figure out the best way to pull it all together.  I think I’ll just
> hardcode something together right now, and see where I can insert URLS
> and resource links into the hardcoded pipeline after the fact.  I have a
> Fire response map that I’m working on right now as a test.  It’s big
> too, 42”x60”, all in one shot right out of MapServer.  Works really
> nicely for the basemap already.
>
> There are a bunch of detail reference maps needed though, which is what
> I’m working on now.
>
> I was pondering things from the point of view that these detail maps are
> really just another type of Legend (or could be thought of that way)
>
> bobb
>
>
>> On Feb 8, 2017, at 4:39 PM, Stephen Woodbridge
>> <woodbri at swoodbridge.com <mailto:woodbri at swoodbridge.com>> wrote:
>>
>> On 2/8/2017 5:22 PM, Basques, Bob (CI-StPaul) wrote:
>>> All,
>>>
>>> Anyone know of a way (trick) to embed a map into a regular map query in
>>> Mapserver?  Something like embedding a legend, but I actaully want to
>>> embed another higher resolution detail map.  Ideally I would be able to
>>> use any of the layers in the main map for the detail as well.
>>>
>>> Hmm, I wonder if I can make what I want in a LEGEND block?? If an image
>>> in a LEGEND block could be another call to mapserver in place of a
>>> static image . . .   Just a wishlist thing right now.  I can stack
>>> things in another piece of software currently.
>>
>> Bob,
>>
>> This sounds like something you might find in a composition tool. There
>> might be a way to make (trick) mapserver do this, like allowing a
>> image symbol to be create using a url rather than a file, then placing
>> that on the map, but mapserver has a great focus on high performance
>> map image rendering. What is your use case for this?
>>
>> I think it might be better to think about this problem in terms of
>> creating a composition tool oriented toward maps that would allow
>> collars, legends, detailed maps, annotations, grids, etc and be able
>> to output PDFs or images, or formats compatible with document systems
>> or whatever.
>>
>> -Steve W
>>
>> ---
>> This email has been checked for viruses by Avast antivirus software.
>> https://www.avast.com/antivirus
>>
>> _______________________________________________
>> mapserver-users mailing list
>> mapserver-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
>
> "I think there is a world market for maybe five computers."
>     - Thomas Watson (1874-1956), Chairman of IBM, 1943
>
>
>


---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus



More information about the mapserver-users mailing list