Difference between revisions of "Nordic:axl2map"

From OSGeo
Jump to navigation Jump to search
Line 1: Line 1:
 
== Convert fron ArcIMS axl-files to Mapserver map-files ==
 
== Convert fron ArcIMS axl-files to Mapserver map-files ==
  
Norges geologiske undersøkelse faser nå ut ArcIMS. ArcIMS-tjenestene skal i hovedsak over til Mapserver. Vi har et stort antall tjenester og fant det nødvendig å lage et XSLT-script som mapper fra axl-configurasjonen (ArcIMS) til map-konfigurasjonen (Mapserver).
+
Norges geologiske undersøkelse (NGU) faser nå ut ArcIMS. ArcIMS-tjenestene skal i hovedsak over til Mapserver. Vi har et stort antall tjenester og fant det nødvendig å lage et XSLT-script som mapper fra axl-configurasjonen (ArcIMS) til map-konfigurasjonen (Mapserver).
  
  
Line 9: Line 9:
  
 
Known issues:
 
Known issues:
* GROUPRENDERER
+
*Support renderer types that is mostly used by the NGU. Should be easy to add renderer types with the <xsl:template match=...>
*
+
*GROUPRENDERER with multple elements will result in multiple CLASS sections with identical names. Edit and integrate into unique classes manually.
#Edit and integrate into unique classes due to the use of GROUPRENDERER with multiple render types (axl).
+
*SCALEDEPENDENTRENDERER is not supported. Create a separate layer for this.
 +
*The type attribute in axl renderers arc converted directly to a SYMBOL reference i the map-file like: SYMBOL "star".
 +
 +
with multiple render types (axl).
  
 
=== Relaterte dokumenter ===
 
=== Relaterte dokumenter ===
 
* [http://inspire.jrc.ec.europa.eu/documents/Network_Services/Technical_Guidance_View_Services_v2.12.pdf Technical Guidance to implement INSPIRE View Services]
 
* [http://inspire.jrc.ec.europa.eu/documents/Network_Services/Technical_Guidance_View_Services_v2.12.pdf Technical Guidance to implement INSPIRE View Services]
 
* [http://osgeo-org.1803224.n2.nabble.com/file/n5661761/MS_RFC_INSPIRE.pdf Mapserver RFC proposal for INSPIRE compliancy] - [http://osgeo-org.1803224.n2.nabble.com/INSPIRE-compliancy-A-request-for-comments-on-a-possible-RFC-td5661761.html#a5661761 Discussion]
 
* [http://osgeo-org.1803224.n2.nabble.com/file/n5661761/MS_RFC_INSPIRE.pdf Mapserver RFC proposal for INSPIRE compliancy] - [http://osgeo-org.1803224.n2.nabble.com/INSPIRE-compliancy-A-request-for-comments-on-a-possible-RFC-td5661761.html#a5661761 Discussion]

Revision as of 23:12, 5 May 2011

Convert fron ArcIMS axl-files to Mapserver map-files

Norges geologiske undersøkelse (NGU) faser nå ut ArcIMS. ArcIMS-tjenestene skal i hovedsak over til Mapserver. Vi har et stort antall tjenester og fant det nødvendig å lage et XSLT-script som mapper fra axl-configurasjonen (ArcIMS) til map-konfigurasjonen (Mapserver).


Kjøring:

  • java org.apache.xalan.xslt.Process -IN foo.axl -XSL axl2mapNGU.xsl -OUT foo.map
  • Add in axl-file right after first line - open file in Web browser: <?xml-stylesheet type="text/xsl" encoding="iso-8859-1" href="axl2mapNGU.xslt"?>

Known issues:

  • Support renderer types that is mostly used by the NGU. Should be easy to add renderer types with the <xsl:template match=...>
  • GROUPRENDERER with multple elements will result in multiple CLASS sections with identical names. Edit and integrate into unique classes manually.
  • SCALEDEPENDENTRENDERER is not supported. Create a separate layer for this.
  • The type attribute in axl renderers arc converted directly to a SYMBOL reference i the map-file like: SYMBOL "star".

with multiple render types (axl).

Relaterte dokumenter