Roy Braam ha scritto:
Hello List,
Recently we added a new DXF module to the Geotools project as a 'unsupported' module.
Andrea asked me te make a geoserver extension for it. (as community module?) Of course i will do that but how?? Is there some documentation about creating a new geoserver extension?
Ha ha, well, I _suggested_ to make it a module, I did not really ask :-p
Anyways, I don't think we have documents on how to do that, it has been
done quite ad-hoc so far, but I think you can play "monkey see, monkey do" using another pure datastore extension like db2. Here are some places you should look into:
http://svn.codehaus.org/geoserver/trunk/src/extension/pom.xml
http://svn.codehaus.org/geoserver/trunk/src/extension/db2/
http://svn.codehaus.org/geoserver/trunk/src/pom.xml
http://svn.codehaus.org/geoserver/trunk/src/release/pom.xml
http://svn.codehaus.org/geoserver/trunk/src/release/ext-db2.xml
And eventually add a profile to:
http://svn.codehaus.org/geoserver/trunk/src/web/app/pom.xml
so that the datastore gets included in GeoServer .war or
in your IDE projects when you add the -Pdxf option to your build.
Now, there is a catch... extensions do require some people using
them before they get to be extensions.
For the moment your dxf datastore is only in Geotools trunk and
in unsupported land.
This is kind of a new situation, not sure how to handle it, but
I sure would love to see more stores in GeoServer (that's
why I suggested you get involved in the first place
).
Soo... people, what do you say? What's the best way to get
the user base to know and test this new store?
I guess a blog post is a good way, just tell people the store
is there and give them a jar and instructions on how to
download a GS trunk build, a zip containing the extra jars
needed by the store... and well, that should be it.
Ah btw, Roy, Mauro Bartolomeoli time ago contributed
a dxf output format to GeoServer that can be found here:
http://svn.codehaus.org/geoserver/trunk/src/community/dxf/
(for some reason it never made into extensions).
An output format will just turn features into a dxf
file, so it's somehow part of the functionality of a
full store.
It seems like an occasion to merge the two works?
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.