[mapguide-internals] Stylization FTW

Jackie Ng jumpinjackie at gmail.com
Fri Jan 8 04:17:14 EST 2010


You mean GeoPDFs?

It's apparently an official OGC spec now, but for the life of me I can't
find the document that lays out all the nitty gritty details!

- Jackie


Jason Birch wrote:
> 
> Yes, that's the issue I'm talking about.
> 
> Thanks for the pointer!
> 
> If I remember correctly, the HTTP call didn't set content-disposition to
> attachment (to force a download) which is why SaveMap.php (
> https://trac.osgeo.org/fusion/browser/branches/fusion-1.1/MapGuide/php/SaveMap.php)
> was
> created in the first place, so I don't think I can get away with a
> straight
> HTTP call.
> 
> However... I should be able to fairly easily rip out the portion of that
> file that uses the API, and just stream the output of an HTTP GET instead.
> 
> As much as the DWF capabilities are nice, I'm sitting here wishing that
> there was an open source c++ library for generating geocoded PDFs :)
> 
> Jason
> 
> 2010/1/6 Walt Welton-Lair <walt.welton-lair at autodesk.com>
> 
>> For plot to DWF are you referring to the problem that when you open the
>> DWF
>> and zoom in the quality is poor due to the generalization?  If so, the
>> way
>> to improve the data resolution is to increase the DisplayDpi on the MgMap
>> used with GeneratePlot.  But... the published MgMap API doesn't let you
>> set
>> this, nor does GeneratePlot have an override that let you override it.
>>
>> The only other option I can think of (short of enhancing the API) is to
>> use
>> the GetPlot HTTP API.  You can control nearly all aspects of the plot,
>> including the DisplayDpi.  See the Web Tier test pages under
>> MappingService
>> / GetPlot.
>>
>> Walt
>>
>> -----Original Message-----
>> From: mapguide-internals-bounces at lists.osgeo.org [mailto:
>> mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jason Birch
>> Sent: Wednesday, January 06, 2010 11:34 PM
>> To: MapGuide Internals Mail List
>> Subject: [mapguide-internals] Re: Stylization FTW
>>
>> Me too. It's really quite powerful.  Unfortunate that there's no
>> sketching tool available to actually draw the symbols yet, but towards
>> the end I was at the point that I could draw them in my head. Except
>> for the bloody arcs... SOHCAHTOA all over the place :)
>>
>> I was generally using a space +-1mm on each axis, which seemed to work
>> OK for me especially when it came to figuring out map scale mapping.
>> Glad I work in metric :)  now I wish I could figure out how to plot to
>> dwf without the nasty generalization/stroking.
>>
>>
>> On 2010-01-06, Walt Welton-Lair <walt.welton-lair at autodesk.com> wrote:
>> > I agree, it's looking very nice.
>> >
>> > I'm glad the enhanced stylization is seeing some action.
>> >
>> > -----Original Message-----
>> > From: mapguide-internals-bounces at lists.osgeo.org
>> > [mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Jackie
>> Ng
>> > Sent: Wednesday, January 06, 2010 10:58 PM
>> > To: mapguide-internals at lists.osgeo.org
>> > Subject: Re: [mapguide-internals] Stylization FTW
>> >
>> >
>> > Wow, that is one purty looking map. Good job!
>> >
>> > I notice the tooltips stay at the same position instead of following
>> the
>> > mouse pointer (like the basic AJAX viewer). Is this default behaviour
>> in
>> > Fusion?
>> >
>> > - Jackie
>> >
>> >
>> > Jason Birch wrote:
>> >>
>> >> Thanks again for all the help on my stylization questions.  We're
>> going
>> to
>> >> be officially launching a new version of NanaimoMap out of beta
>> tomorrow
>> >> that makes extensive use of it:
>> >>
>> >> Default theme:
>> >>   - Places of Interest  -> Image-based
>> >>   - Transportation  -> Linear: Sidewalks, Crosswalks, Bike Routes,
>> Bridges
>> >>
>> >> Utilities theme:
>> >>   - Extensive use of point-based stylization in the Water, Sanitary,
>> and
>> >> Storm layers
>> >>
>> >> And probably others I can't remember.  You can launch the map here
>> right
>> >> now:
>> >>
>> >> http://maps.nanaimo.ca/nanaimomap/
>> >>
>> >> And yes, I know there's a JS problem in the Utilities theme... haven't
>> >> been
>> >> able to figure it out.
>> >>
>> >> When I get a few minutes to breathe, I'll be uploading all of the
>> >> hand-crafted utility symbols to the wiki.
>> >>
>> >> Jason
>> >> _______________________________________________
>> >> mapguide-internals mailing list
>> >> mapguide-internals at lists.osgeo.org
>> >> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>> >>
>> >>
>> >
>> > --
>> > View this message in context:
>> > http://n2.nabble.com/Stylization-FTW-tp4264399p4264792.html
>> > Sent from the MapGuide Internals mailing list archive at Nabble.com.
>> > _______________________________________________
>> > mapguide-internals mailing list
>> > mapguide-internals at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>> > _______________________________________________
>> > mapguide-internals mailing list
>> > mapguide-internals at lists.osgeo.org
>> > http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>> >
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>> _______________________________________________
>> mapguide-internals mailing list
>> mapguide-internals at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
>>
> _______________________________________________
> mapguide-internals mailing list
> mapguide-internals at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-internals
> 
> 

-- 
View this message in context: http://n2.nabble.com/Stylization-FTW-tp4264399p4271308.html
Sent from the MapGuide Internals mailing list archive at Nabble.com.


More information about the mapguide-internals mailing list