<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:12pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Dear all<br><br>This is a map schema I am using for map production in my geological survey. It works fine for maps composed of only one map frame. I made some modification trying to adapt it for a map with multiple map frames. The original program that use this scheme was made using Arc-Info AML (I have some ideas to port it to the next ARCGIS Python). This scheme does not include metadata and is a good idea to include it.<br><br>The idea behind of this scheme is try to give flexibility on styles and data source management and re-use. It works fine for model based cartography.<br><br><map><br><br><page name=anything><br> <orientation>['v','h']</orientation> #if orientation is null v is default<br>
<page_name>['a0','a1','a2'......]</page_name><br> # if page name is not given then<br> <page_size width='any number in cm' height='any number in cm'><br><br> <margins up='any number' down=''any number' left='any number' right='any number' units=[cm,inch,mm.....]><br>
<background_color>any_color</background_color><br><br> <guideLine name=anything> # define guide lines or positions of simetry for placing cartographic objects<br> <xplace>middlepage</xplace><br> <yplace units='cm'>margin.up - 10</yplace><br> </guideLine><br> <br> <guidePoint name=anything><br> <xplace units='mm'>30</xplace><br> <yplace units='mm'>300</xplace><br> </guidePoint><br><br><br>
<insets type=[text, image/jpg, image/svg, legend, document, ] name=anything src=[file, http, dbconnector..]><br>
<insetParam paramName=anything>value</insetParam><br>
<insetParam paramName=width units=mm>25</insetParam><br>
<insetParam paramName=xposition units=mm>30</insetParam># relative to page margins<br>
<insetParam paramName=relativeposition >centerpage</insetParam># relative to page margins<br>
<insetParam paramName=xrelativeposition >middlepage</insetParam># relative to page margins<br>
<insetParam paramName=xrelativeposition >GuideLineDummy1</insetParam># relative to page margins<br>
<insetParam paramName=origin >0 0</insetParam><br>
<insetParam paramName=origin >middle middle</insetParam><br> </insets><br></page><br><br><br><br><mapStructure name=anything><br> <MapFrameDefID>...<br> <MapDefStyleID>...<br> <DataSourceCollectionID>...<br> <GridStyleID><br></mapStructure><br><br><mapStructure name=anything2><br> <MapFrameDefID>...<br> <MapDefStyleID>...<br> <DataSourceCollectionID>...<br> <GridStyleID><br></mapStructure><br><br>......<br><br> <MapFrame name=anything><br><br><box>xmin ymin xmax ymax</box><br><FrameStyle><br> <boxStyle>......<br> <backgroundstyle>..<br> <ScaleStyle>......<br> <insets type=[text, image/jpg, image/svg, legend, document, ] name=anything src=[file,http; dbconnector]><br> <insetParam
paramName=anything>value</insetParam><br> <insetParam paramName=width units=mm>25</insetParam><br> <insetParam paramName=xposition units=mm>30</insetParam># relative to frame<br> <insetParam paramName=relativeposition >centerframe</insetParam> # relative to frame<br> <insetParam paramName=xrelativeposition >middleframe</insetParam># relative to frame<br> <insetParam paramName=origin >0 0</insetParam><br> <insetParam paramName=origin >middle middle</insetParam><br> .....<br> ......<br> </insets><br><br> <br></FrameStyle><br></MapFrame><br><br><br><mapDef name=anything><br><scale>[any number, automatic]<br><mapSRS>EPSG:22634 .......# if no EPSG code is given other tags
of forms (may proj4 declaration) can be used for srs definition<br><mapExtend>['absolute defined by geographic or planar coordinate', 'relative defined by a boundary of an object']</mapExtend><br><mapAngle>.........<br><br><br></mapDef name=anything><br><div> <br><br><DataSourceCollection name=anything><br> <layer name='mustBeUnique'>....... </layer> #can be file, url, etc, etc<br> <layer name='mustBeUnique'>.......</layer><br> <layer name='mustBeUnique'>.......</layer><br> <layer name='mustBeUnique'>.......</layer><br></DataSourceCollection><br><br>#For this sections is much better use SLD standard????<br><LayerRepresentation><br><layerDisplay><br> layerName objectType pallete symbol LUT
SelectionParameters<br><br></LayerRepresentation><br><br><br><GridDef><br> <BoundaryDef>[box(xmin,ymin,xmax,ymax), "a geographic object", "a polygon in WKT",......]<br> <BoundarySRS> EPSG:<br> <BoundaryStyle>palette, color, etc..<br> <br> <grid name=geo><br> <gridSRS> EPSG:<br> <gridStyle type=[grid, marks,...] >palette, color, xinterval, yinterval, labelingStyle, marksymbol,linesymbol.......<br> <LabelingStyle>font, size, color, orientation, template, offset<br> </grid><br> <grid name=planar><br> <gridSRS> EPSG:<br>
<gridStyle type=[grid, marks,...] >palette, color, xinterval, yinterval, labelingStyle.......<br>
<LabelingStyle>font, size, color, orientation, template, gridOffset<br>
</grid><br>
<br><GridDef><br><br></Map><br><br>I hope no forget anything!!!.<br><br>Please make the comments you think appropiate<br><br>Regards<br><br></div>Gabriel Asato<br>Unidad Sensores Remotos y SIG<br>Servicio Geológico Minero Argentino<br>(SEGEMAR)<br>Av. Julio A. Roca 651 p 8 of 1<br>Cdad. Autónoma de Buenos Aires<br>ARGENTINA<br><br><div>tel 54-11-4349-3158/26<br>fax 54-11-4349-3287<div><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">De:</span></b> George Silva <georger.silva@gmail.com><br><b><span style="font-weight: bold;">Para:</span></b> carto@lists.osgeo.org<br><b><span style="font-weight: bold;">Enviado:</span></b> miércoles, 7 de abril, 2010 22:26:48<br><b><span style="font-weight: bold;">Asunto:</span></b> [Carto] Map
specifications<br></font><br>Hello everyone,<br><br>I would like to try to get the ball rolling, so I
thought to start simple. I'm not familiar with Mapnik also, so please
bear with me.<br><br>What are the components of a map document (this are
just informal ideas, give your opinion about them :P)<br>
<br>"Map Metadata"<br>Author<br>Date/time<br>Subject<br>Description<br><br>Size
(width x height)<br>Graphics (north arrow, title, other pictures, etc)<br>Ordered
set of "views" (I'm calling a view what would be a map inset, a map
inside another map)<br>
<br>Each "view" should have:<br><br> Size of map-inset<br>
Extent<br> Scale<br> Projection (datasets have projections,
but they can be represented in a different projection)<br> Ordered
set of Layers<br>
[Coordinate grid] (each of these should be graphic? should these
be tied up to each "view" or they are independent map graphics?)<br>
[Scale Bar]<br> [Scale Text]<br> [Legend]<br> other
elements I'm missing?<br>
<br>Since XML was mentioned by Tyler, I tried a top-bottom approach.<br clear="all"><br>Any ideas about these?<br><br>Thank you for your
patiente :P<br><br>George<br clear="all"><br>-- <br>George R. C. Silva<br><br>Desenvolvimento em GIS<br><a rel="nofollow" target="_blank" href="http://blog.geoprocessamento.net">http://blog.geoprocessamento.net</a><br>
</div></div></div>
</div></div><br>
</body></html>