[Geoserver-users] DXF output format community extension

Hi List,
The GeoServer docs detail a community extension called “DXF OutputFormat for WFS” - http://docs.geoserver.org/2.3.0/user/community/dxf/index.html

However, I can’t seem to find it in the nightly builds for community extensions - http://gridlock.opengeo.org/geoserver/

Does anyone know where it is?

Thanks,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

Hi Jonathan,
The DXF community module is not currently included in the automatic build, because it is currently not supported.
Looking at https://jira.codehaus.org/browse/GEOS-5583 it seems that it has been updated some time ago to compile with 2.3.x, so you can try to compile it yourself if you wish.

Let me know if you have issues, I can try to help.

Mauro

···

2013/6/24 Jonathan Moules <jonathanmoules@…4942…>

Hi List,
The GeoServer docs detail a community extension called “DXF OutputFormat for WFS” - http://docs.geoserver.org/2.3.0/user/community/dxf/index.html

However, I can’t seem to find it in the nightly builds for community extensions - http://gridlock.opengeo.org/geoserver/

Does anyone know where it is?

Thanks,
Jonathan

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev


Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Mon, Jun 24, 2013 at 1:48 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Hi List,
The GeoServer docs detail a community extension called "DXF OutputFormat
for WFS" - http://docs.geoserver.org/2.3.0/user/community/dxf/index.html

However, I can't seem to find it in the nightly builds for community
extensions - http://gridlock.opengeo.org/geoserver/

The module is part of the community section:
https://github.com/geoserver/geoserver/tree/master/src/community

However as Mauro said only a small subset of them is actually built nightly.
It does compile though... I haven't tried it out, but if you are
interested, I've uploaded a 2.3.x
compatible version here:
http://demo.geo-solutions.it/share/dxf-2.3-SNAPSHOT.jar

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

-------------------------------------------------------

Thanks both for your replies. I’m afraid I’m not in a position to compile stuff, so I tried Andrea’s file. Unfortunately this file breaks GeoServer completely (as in, I get 6MB of errors in the logs and GeoServer doesn’t get started).

Partial stacktrace:

WARNING: bean lookup error
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.geoserver.wps.ppio.DXFPPIO] for bean with name ‘DXFPPIO’ defined in URL [jar:file:/C:/Tomcat_Compass/instances/instance1/webapps/geoserver/WEB-INF/lib/dxf-2.3-SNAPSHOT.jar!/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/geoserver/wps/ppio/CDataPPIO
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1265)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:298)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1150)
at org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:110)
at org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:291)

All I did was copy Andrea’s file into the …\geoserver\WEB-INF\lib\ directory with the rest of the extensions.

I’m guessing that wasn’t supposed to happen. Do I need to rename it or put it somewhere else (I guess not, but worth asking)?

(have just updated to 2.3.3 at the same time - that works fine without the dxf)

Cheers,
Jonathan

···

Hi List,
The GeoServer docs detail a community extension called “DXF OutputFormat for WFS” - http://docs.geoserver.org/2.3.0/user/community/dxf/index.html

However, I can’t seem to find it in the nightly builds for community extensions - http://gridlock.opengeo.org/geoserver/

The module is part of the community section:
https://github.com/geoserver/geoserver/tree/master/src/community

However as Mauro said only a small subset of them is actually built nightly.
It does compile though… I haven’t tried it out, but if you are interested, I’ve uploaded a 2.3.x
compatible version here:
http://demo.geo-solutions.it/share/dxf-2.3-SNAPSHOT.jar

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


On Mon, Jun 24, 2013 at 2:36 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Thanks both for your replies. I'm afraid I'm not in a position to compile
stuff, so I tried Andrea's file. Unfortunately this file breaks GeoServer
completely (as in, I get 6MB of errors in the logs and GeoServer doesn't
get started).

Partial stacktrace:

WARNING: bean lookup error
org.springframework.beans.factory.CannotLoadBeanClassException: Error
loading class [org.geoserver.wps.ppio.DXFPPIO] for bean with name 'DXFPPIO'
defined in URL
[jar:file:/C:/Tomcat_Compass/instances/instance1/webapps/geoserver/WEB-INF/lib/dxf-2.3-SNAPSHOT.jar!/applicationContext.xml]:
problem with class file or dependent class; nested exception is
java.lang.NoClassDefFoundError: org/geoserver/wps/ppio/CDataPPIO
at
org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1265)
at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at
org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at
org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:298)
at
org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1150)
at
org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:110)
at
org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:291)

All I did was copy Andrea's file into the ...\geoserver\WEB-INF\lib\
directory with the rest of the extensions.

I'm guessing that wasn't supposed to happen. Do I need to rename it or put
it somewhere else (I guess not, but worth asking)?

Ah no, the jar in the current state contains both a wfs and a wps
extension, so it only works if you have also the WPS plugin installed

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

-------------------------------------------------------

Thanks Andrea. Is there a WPS-free version of it? The documentation doesn’t mention WPS. I’ll probably end up installing WPS one day, but I’d prefer to leave it a little, plenty of other stuff to do first. :slight_smile:

Mauro:

“The DXF community module is not currently included in the automatic build, because it is currently not supported”

The documentation doesn’t reflect this. The communities page suggests that all modules are built nightly - http://docs.geoserver.org/stable/en/user/community/index.html :

“Community modules are considered “pending” in that they are not officially part of the GeoServer releases. They are however built along with the nightly builds, so you can download and play with them.”

Hence my confusion. :slight_smile:

Jonathan

···

Thanks both for your replies. I’m afraid I’m not in a position to compile stuff, so I tried Andrea’s file. Unfortunately this file breaks GeoServer completely (as in, I get 6MB of errors in the logs and GeoServer doesn’t get started).

Partial stacktrace:

WARNING: bean lookup error
org.springframework.beans.factory.CannotLoadBeanClassException: Error loading class [org.geoserver.wps.ppio.DXFPPIO] for bean with name ‘DXFPPIO’ defined in URL [jar:file:/C:/Tomcat_Compass/instances/instance1/webapps/geoserver/WEB-INF/lib/dxf-2.3-SNAPSHOT.jar!/applicationContext.xml]: problem with class file or dependent class; nested exception is java.lang.NoClassDefFoundError: org/geoserver/wps/ppio/CDataPPIO
at org.springframework.beans.factory.support.AbstractBeanFactory.resolveBeanClass(AbstractBeanFactory.java:1265)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:576)
at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1331)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:298)
at org.springframework.context.support.AbstractApplicationContext.getBeanNamesForType(AbstractApplicationContext.java:1150)
at org.geoserver.platform.GeoServerExtensions.extensions(GeoServerExtensions.java:110)
at org.geoserver.platform.GeoServerExtensions.bean(GeoServerExtensions.java:291)

All I did was copy Andrea’s file into the …\geoserver\WEB-INF\lib\ directory with the rest of the extensions.

I’m guessing that wasn’t supposed to happen. Do I need to rename it or put it somewhere else (I guess not, but worth asking)?

Ah no, the jar in the current state contains both a wfs and a wps extension, so it only works if you have also the WPS plugin installed

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


2013/6/24 Jonathan Moules <jonathanmoules@anonymised.com>

Thanks Andrea. Is there a WPS-free version of it? The documentation
doesn't mention WPS. I'll probably end up installing WPS one day, but I'd
prefer to leave it a little, plenty of other stuff to do first. :slight_smile:

Mauro:

"The DXF community module is not currently included in the automatic
build, because it is currently not supported"

The documentation doesn't reflect this. The communities page suggests that
all modules are built nightly -
http://docs.geoserver.org/stable/en/user/community/index.html :

"Community modules are considered “pending” in that they are not
officially part of the GeoServer releases. They are however built along
with the nightly builds, so you can download and play with them."

Hence my confusion. :slight_smile:

It was maybe removed from the build when it stopped to compile, or maybe
never included because at that time community modules where not part of the
build, I don't remember exactly, but I think that since it seems to compile
now, maybe we could add it, so that we can be notified when it breaks.

What do you and other people think?

Mauro

--

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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

-------------------------------------------------------

Hi Mauro,
I can’t comment from the developer benefit perspective, but as a user, having a pre-compiled jar is much more useful than having to do it myself.
So personally I’d suggest adding it.
Jonathan

···

2013/6/24 Jonathan Moules <jonathanmoules@anonymised.com>

Thanks Andrea. Is there a WPS-free version of it? The documentation doesn’t mention WPS. I’ll probably end up installing WPS one day, but I’d prefer to leave it a little, plenty of other stuff to do first. :slight_smile:

Mauro:

“The DXF community module is not currently included in the automatic build, because it is currently not supported”

The documentation doesn’t reflect this. The communities page suggests that all modules are built nightly - http://docs.geoserver.org/stable/en/user/community/index.html :

“Community modules are considered “pending” in that they are not officially part of the GeoServer releases. They are however built along with the nightly builds, so you can download and play with them.”

Hence my confusion. :slight_smile:

It was maybe removed from the build when it stopped to compile, or maybe never included because at that time community modules where not part of the build, I don’t remember exactly, but I think that since it seems to compile now, maybe we could add it, so that we can be notified when it breaks.

What do you and other people think?

Mauro

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

Dott. Mauro Bartolomeoli
@mauro_bart
Senior Software Engineer

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

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


On Mon, Jun 24, 2013 at 4:05 PM, Jonathan Moules <
jonathanmoules@anonymised.com> wrote:

Hi Mauro,
  I can't comment from the developer benefit perspective, but as a user,
having a pre-compiled jar is much more useful than having to do it myself.
So personally I'd suggest adding it.

To make it more useful it should be split into a dxf-wfs module, and a
dxf-wps one (at the moment one is forced to install
also wps to use the dxf wfs output).

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

-------------------------------------------------------

+1 to that!

This transmission is intended for the named addressee(s) only and may contain sensitive or protectively marked material up to RESTRICTED and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

Hi Mauro,
I can’t comment from the developer benefit perspective, but as a user, having a pre-compiled jar is much more useful than having to do it myself.
So personally I’d suggest adding it.

To make it more useful it should be split into a dxf-wfs module, and a dxf-wps one (at the moment one is forced to install
also wps to use the dxf wfs output).

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