Hi all,
I want to propose a new community module, a customizable WFS output format
which
will leverage XSLT to transform GML2/3 outputs into any text output.

The configuration will be XML based, one configuration file
file stored in $GEOSERVER_DATA_DIR/wfs-xslt/configuration.xml, with a
format as follows:

<xsltConfiguration>
  <formats>
      <sourceFormat>text/xml; subtype=gml/2.1.2</sourceFormat>
      <outputFormat>text/plain</outputFormat>
      <fileExtension>txt</fileExtension>
      <xslt>/path/to/the/xslt/file</xslt>
  </format>
  <format>
     ...
  </format>
  ...
</xsltConfiguration>

The format will not have a configuration GUI for the time being, but will
be accompanied
by a REST configuration extension mimicking the configuration file
structure:

/rest/wfs-xslt/formats/<format>.xml

where formats would list all the available formats, and format would allow
the manipulation
of each single one. The editing will be as usual, POST on formats to create
a new format,
PUT/DELETE on the single format to alter/remove

I plan to add enough testing to push it to extension level in a short-ish
time, the idea
of having a XSLT based output format was requested already some times on
the user list
and by voice during code sprints (notably GeoNetwork people asked a few
times about this).
The idea is to have this land on the 2.2.x series as well once it matures
enough.

Of course documentation will be also added.

How does it sound?

Cheers
Andrea

-- 
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to