<DIV>&gt; While thinking this through further (since yesterday) am I <BR>&gt; describing something that is different enough that it shouldn't <BR>&gt; be included in this thread? <BR></DIV>
<DIV>Hi Bob, yes I think you're a bit ahead of us :)&nbsp; Most of are still not happy with printing options in our app - hehe.&nbsp; But that doesn't mean it shouldn't be a thread here!&nbsp; I have seen some work on style editors before when I used to put up web mapping&nbsp;sites - Paul might have a few&nbsp;good pointers on that?<BR><BR>----- Original Message -----<BR>From: Bob Basques &lt;Bob.Basques@ci.stpaul.mn.us&gt;<BR>Date: Wednesday, April 7, 2010 6:56 am<BR>Subject: Re: [Carto] Students: Get Paid to work on this project (isthisstillthe thread about high resolution printing??)<BR>To: Landon Blake &lt;lblake@ksninc.com&gt;, "Tyler Mitchell (OSGeo)" &lt;tmitchell@osgeo.org&gt;<BR>Cc: carto@lists.osgeo.org<BR><BR>&gt; All, <BR>&gt; <BR>&gt; Most projects have some sort of printing capability already, I'm <BR>&gt; not too interested in rebuilding this type of functionality, but <BR>&gt; rather in building out a much more functional print service that <BR>&gt; goes beyond just printing maps, and enables typesetting <BR>&gt; functionality as well, even adding in other elements like charts <BR>&gt; and fancy legends, map details, etc. <BR>&gt; <BR>&gt; One additional item that I'm interested in is being able to do <BR>&gt; is to mix and match sources for the data elements for the final <BR>&gt; output.&nbsp;&nbsp; This is mostly my reasoning for not trying <BR>&gt; to build something that is app specific up front.&nbsp;&nbsp; I <BR>&gt; want to be able to use the new spec to combine things from <BR>&gt; different applications (desktop and web based)&nbsp; into a <BR>&gt; output stream.&nbsp;&nbsp; I think going after the web approach <BR>&gt; up front gets things to the app agnostic level the soonest. <BR>&gt; <BR>&gt; The pieces of such an app are still sort of swirling around in <BR>&gt; my head at the moment.&nbsp; But one big function I've thought <BR>&gt; would be good in this type of application would be to build out <BR>&gt; a style manager (and possibly a data manager) in front of <BR>&gt; something like MapServer. Based on the comments so far though, <BR>&gt; seems like most folks have their favorite application that they <BR>&gt; want to see added on to instead, or am I reading too far between <BR>&gt; the lines? <BR>&gt; <BR>&gt; While thinking this through further (since yesterday) am I <BR>&gt; describing something that is different enough that it shouldn't <BR>&gt; be included in this thread? <BR>&gt; <BR>&gt; bobb <BR>&gt; <BR>&gt; <BR>&gt; &gt;&gt;&gt; "Tyler Mitchell (OSGeo)" &lt;tmitchell@osgeo.org&gt; wrote:<BR>&gt; <BR>&gt; Landon Blake wrote:<BR>&gt; &gt; Bob,<BR>&gt; &gt;<BR>&gt; &gt; I'm not a web developer by any stretch of the term, so I <BR>&gt; didn't get<BR>&gt; &gt; everything in your message. I did however like the concept of a<BR>&gt; &gt; canvas where the user can assemble common layout elements. This<BR>&gt; &gt; sounds like a way to make map layout a no brainer. Whether this<BR>&gt; &gt; component of the map-making project was on the web or in a desktop<BR>&gt; &gt; app, I like it!<BR>&gt; <BR>&gt; All good ideas...<BR>&gt; <BR>&gt; I think the biggest bang for the buck is to set up an engine in <BR>&gt; a way<BR>&gt; that makes it easiest for as many other appliations (desktop, or web<BR>&gt; enabled) to easily push their configuration over and spit out a <BR>&gt; map file<BR>&gt; (e.g. at simplest level a postscript file that a plotter can print).<BR>&gt; It's the specifications that will make it have the best possible<BR>&gt; broadest application.&nbsp; Desktop, server, or web are <BR>&gt; implementation issues<BR>&gt; in my opinion.<BR>&gt; <BR>&gt; Here's the typical workflow I'm envisioning, at a technical level.<BR>&gt; <BR>&gt; Scenario 1<BR>&gt; -----------<BR>&gt; I'll use a desktop app as an example.&nbsp; I open up my files <BR>&gt; in my desktop<BR>&gt; GIS, set my layer styles, mock up a quick layout (if the app supports<BR>&gt; that).&nbsp; There would need to be a way of specifying what <BR>&gt; kind of output<BR>&gt; would be expected (e.g. PDF, PS, SVG, etc).&nbsp; Then I export <BR>&gt; the new print<BR>&gt; configuration files in our specification using a plugin.&nbsp; <BR>&gt; The plugin<BR>&gt; will then run the engine with those configuration files as <BR>&gt; arguments to<BR>&gt; the engine and spit out a file.&nbsp; Maybe it prompts the <BR>&gt; operating system<BR>&gt; to launch it a viewer app like kpdf, etc.<BR>&gt; <BR>&gt; This is a similar approach to how Quantumnik works already!<BR>&gt; <BR>&gt; Scenario 2<BR>&gt; -----------<BR>&gt; I'll have a command line script that'll take a MapServer configuration<BR>&gt; file or even a QGIS file and transform it into the output map specs.<BR>&gt; Then I'd also point to a layout and print spec config file and the<BR>&gt; script passes it off to the engine and the output is produced.<BR>&gt; <BR>&gt; Scenario 3<BR>&gt; -----------<BR>&gt; Web services could receive the config files, pointers to data <BR>&gt; files and<BR>&gt; then push back the output map file.&nbsp; Sounds like Web <BR>&gt; Processing Server<BR>&gt; (WPS) spec could handle this is a general sense.&nbsp; There are <BR>&gt; no OGC web<BR>&gt; based printing standards that I've heard of - if someone knows <BR>&gt; of them,<BR>&gt; please point them out.&nbsp; It's basically that stuff we want <BR>&gt; to create I think.<BR>&gt; <BR>&gt; <BR>&gt; Styles<BR>&gt; -------<BR>&gt; We all have/use apps that deal with layers and styles, though <BR>&gt; they all<BR>&gt; describe it a bit differently.&nbsp; The goal of having a spec <BR>&gt; would not be<BR>&gt; to change the way another app does their styling, but rather to <BR>&gt; make it<BR>&gt; possible to transform a project file into the specification instead.<BR>&gt; <BR>&gt; Layout<BR>&gt; -------<BR>&gt; Many apps really suffer with not having a layout app.&nbsp; In <BR>&gt; some cases,<BR>&gt; like web mapping, layout for printing is a bit off-topic <BR>&gt; even.&nbsp; Still,<BR>&gt; having a specification to define how a map will appear is a key <BR>&gt; part of<BR>&gt; this project.&nbsp; Of course, at the basest level you are just <BR>&gt; passing a map<BR>&gt; image that covers a whole page.&nbsp; At the more complex you're <BR>&gt; dealing with<BR>&gt; graticules and classified legends, etc.<BR>&gt; <BR>&gt; Printing<BR>&gt; --------<BR>&gt; This third spec defines how the output dimensions, resolution <BR>&gt; and file<BR>&gt; formats to be used to create.<BR>&gt; <BR>&gt; My push this year is to have people check out the Mapnik <BR>&gt; specifications.It has an xml-based configuration system for <BR>&gt; defining styles and a bit<BR>&gt; of layout.&nbsp; It also has a way to define output specs, <BR>&gt; though I haven't<BR>&gt; dug into that.&nbsp; Initially important to me is that it <BR>&gt; supports the Cairo<BR>&gt; library for rendering into vector-based output formats (PS, PDF, <BR>&gt; etc) -<BR>&gt; a simple raster output wouldn't meet the specs of this project.<BR>&gt; <BR>&gt; Things change of course and I know MapServer (and others!) are <BR>&gt; startingto look at Cairo and there are other libraries likely <BR>&gt; available.&nbsp; I can<BR>&gt; appreciate all that, but think we should seriously look at <BR>&gt; Mapnik's XML<BR>&gt; config file structure.&nbsp; Then we adopt it as the spec for <BR>&gt; this project<BR>&gt; and then *any* other application that wants to serve as an <BR>&gt; engine, must<BR>&gt; meet that spec (either directly writing to it, or transforming <BR>&gt; their own<BR>&gt; config files).<BR>&gt; <BR>&gt; We'd have to extend it to include the additional requirements of our<BR>&gt; project, but I'm not 100% sure where the holes are.<BR>&gt; <BR>&gt; For what it's worth, I'm sticking with Python myself, but if we really<BR>&gt; stick with XML configuration specs for the short term, then it won't<BR>&gt; matter since we can all implement the concepts in our favourite <BR>&gt; apps :)<BR>&gt; <BR>&gt; Make sense?&nbsp; Hope that helps!<BR>&gt; Tyler<BR>&gt; _______________________________________________<BR>&gt; Carto mailing list<BR>&gt; Carto@lists.osgeo.org<BR>&gt; http://lists.osgeo.org/mailman/listinfo/carto<BR>&gt; <BR>&gt; </DIV>