[Geoserver-users] Some layer won't work (ETYPE 4 inconsistent with expected LINE)

Hi,

We are rendering a layer stored in a Oracle Spatial database through WMS. We user geoserver 2.3.2

But on some part of the map, geoserver’s WMS engine will fail with the following error :

17 Feb 12:41:34 ERROR [geotools.rendering] - ETYPE 4 inconsistent with expected LINE

java.lang.IllegalArgumentException: ETYPE 4 inconsistent with expected LINE

at org.geotools.data.oracle.sdo.SDO.createMultiLine(SDO.java:2833)

at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2422)

at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2383)

at org.geotools.data.oracle.sdo.GeometryConverter.asGeometry(GeometryConverter.java:125)

at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:506)

at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:492)

at org.geotools.data.oracle.OracleDialect.decodeGeometryValue(OracleDialect.java:455)

at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:310)

at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:70)

at org.geotools.data.store.ContentFeatureCollection$WrappingFeatureIterator.next(ContentFeatureCollection.java:145)

at org.geotools.data.store.ContentFeatureCollection$WrappingFeatureIterator.next(ContentFeatureCollection.java:125)

at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.next(RetypingFeatureCollection.java:107)

at org.geoserver.feature.RetypingFeatureCollection$RetypingIterator.next(RetypingFeatureCollection.java:92)

at org.geotools.data.crs.ForceCoordinateSystemIterator.next(ForceCoordinateSystemIterator.java:126)

at org.geotools.data.crs.ForceCoordinateSystemIterator.next(ForceCoordinateSystemIterator.java:67)

at org.geotools.feature.collection.BridgeIterator.next(BridgeIterator.java:31)

at org.geotools.feature.collection.BridgeIterator.next(BridgeIterator.java:18)

at org.geotools.renderer.lite.StreamingRenderer.drawPlain(StreamingRenderer.java:2494)

It only happens on some specific parts of the map. And it happens all the time.

Though, the layer renders well in ESRI tools.

And we also have lots of other linear layers which cause no problems.

Does anybody have a clue ?

Thanks for your help.

Regards,

Laurent

On Tue, Feb 17, 2015 at 12:49 PM, PREVOSTO, Laurent <
laurent.prevosto@anonymised.com> wrote:

Hi,

We are rendering a layer stored in a Oracle Spatial database through WMS.
We user geoserver 2.3.2

But on some part of the map, geoserver’s WMS engine will fail with the
following error :

17 Feb 12:41:34 ERROR [geotools.rendering] - ETYPE 4 inconsistent with
expected LINE

ETYPE 4 means your line is a compound one, made of both straight lines and
arcs.
You'll need at least GeoServer 2.6.x series to read it

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

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

Thank you for the answer.

Looks like we have an user who is an artist…

Btw, is the upgrade from geoserver 2.3 to 2.6 an easy one or does it require modifying the configurations ?

Regards,

Laurent

Envoyé : mardi 17 février 2015 15:01

···

On Tue, Feb 17, 2015 at 12:49 PM, PREVOSTO, Laurent <laurent.prevosto@…5078…> wrote:

Hi,

We are rendering a layer stored in a Oracle Spatial database through WMS. We user geoserver 2.3.2

But on some part of the map, geoserver’s WMS engine will fail with the following error :

17 Feb 12:41:34 ERROR [geotools.rendering] - ETYPE 4 inconsistent with expected LINE

ETYPE 4 means your line is a compound one, made of both straight lines and arcs.

You’ll need at least GeoServer 2.6.x series to read it

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


On Tue, Feb 17, 2015 at 8:08 PM, PREVOSTO, Laurent <laurent.prevosto@anonymised.com8...

wrote:

Thank you for the answer.

Looks like we have an user who is an artist…

Btw, is the upgrade from geoserver 2.3 to 2.6 an easy one or does it
require modifying the configurations ?

It's a big jump... make sure you have a backup of the data directory, as
2.6.x might modify it and when it does, you won't
be able to use it anymore with 2.3.x in case you need to.

Besides that, no config changes, the upgrade should do it all for you
(well, at least in theory)

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

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

Hi,

We upgraded a test environment to geoserver 2.6.2.

Things went pretty smoothly but unfortunately, it did not fixe our problem :

Any other Idea ?

2015-02-27 15:22:34,469 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.

2015-02-27 15:22:34,469 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2015-02-27 15:22:34,470 ERROR [geotools.rendering] - ETYPE 4 inconsistent with expected LINE

java.lang.IllegalArgumentException: ETYPE 4 inconsistent with expected LINE

at org.geotools.data.oracle.sdo.SDO.createMultiLine(SDO.java:2915)

at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2434)

at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2393)

at org.geotools.data.oracle.sdo.GeometryConverter.asGeometry(GeometryConverter.java:125)

at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:545)

at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:531)

at org.geotools.data.oracle.OracleDialect.decodeGeometryValue(OracleDialect.java:494)

at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:330)

at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:75)

Regards,

Laurent

Envoyé : mardi 17 février 2015 20:49

···

On Tue, Feb 17, 2015 at 8:08 PM, PREVOSTO, Laurent <laurent.prevosto@…5078…> wrote:

Thank you for the answer.

Looks like we have an user who is an artist…

Btw, is the upgrade from geoserver 2.3 to 2.6 an easy one or does it require modifying the configurations ?

It’s a big jump… make sure you have a backup of the data directory, as 2.6.x might modify it and when it does, you won’t

be able to use it anymore with 2.3.x in case you need to.

Besides that, no config changes, the upgrade should do it all for you (well, at least in theory)

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


On Fri, Feb 27, 2015 at 3:26 PM, PREVOSTO, Laurent <laurent.prevosto@anonymised.com8...

wrote:

Hi,

We upgraded a test environment to geoserver 2.6.2.

Things went pretty smoothly but unfortunately, it did not fixe our problem
:

Any other Idea ?

2015-02-27 15:22:34,469 DEBUG [geotools.util] - CRSConverterFactory can be
applied from Strings to CRS only.

2015-02-27 15:22:34,469 DEBUG [geotools.util] -
InterpolationConverterFactory can be applied from Strings to Interpolation
only.

2015-02-27 15:22:34,470 ERROR [geotools.rendering] - ETYPE 4 inconsistent
with expected LINE

java.lang.IllegalArgumentException: ETYPE 4 inconsistent with expected LINE

                at
org.geotools.data.oracle.sdo.SDO.createMultiLine(SDO.java:2915)

                at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2434)

                at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2393)

                at
org.geotools.data.oracle.sdo.GeometryConverter.asGeometry(GeometryConverter.java:125)

                at
org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:545)

                at
org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:531)

                at
org.geotools.data.oracle.OracleDialect.decodeGeometryValue(OracleDialect.java:494)

                at
org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:330)

                at
org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:75)

This might mean we have some cases that are not handled correctly curve
wise yet.
Could you open a ticket at http://jira.codehaus.org/browse/GEOS and attach
some sql to recreate
the problem (enough data to see the problem)

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 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

*AVVERTENZE AI SENSI DEL D.Lgs. 196/2003*

Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.

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

Hi again,

I think there are definetely some trouble.

For instances, I have some WMS tiles that are well generated with geoserver 2.3.2 but fail with 2.6.2 with the following error :

Rendering process failed Circular strings are restricted to 2 dimensions at the moment. Contributions to get ND support welcomed! Details: org.geoserver.platform.ServiceException: Rendering process failed at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:520) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:258) at org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(RenderedImageMapOutputFormat.java:130) at org.geoserver.wms.GetMap.executeInternal(GetMap.java:510) at org.geoserver.wms.GetMap.run(GetMap.java:254) at org.geoserver.wms.GetMap.run(GetMap.java:125) at org.geoserver.wms.DefaultWebMapService.getMap(DefaultWebMapService.java:354) at

Problem is : I can open a JIRA but don’t know how to generate valuable data for you to understand what is going on : the layer is quite big and only very specific parts cause troubles… and I don’t which ones.

Maybe there is a way to retrieve the actual vector data from the BoundingBox of the failing WMS request but I don’t know how to do that :-/

Regards,

Laurent

Envoyé : vendredi 27 février 2015 15:32

···

On Fri, Feb 27, 2015 at 3:26 PM, PREVOSTO, Laurent <laurent.prevosto@…5078…> wrote:

Hi,

We upgraded a test environment to geoserver 2.6.2.

Things went pretty smoothly but unfortunately, it did not fixe our problem :

Any other Idea ?

2015-02-27 15:22:34,469 DEBUG [geotools.util] - CRSConverterFactory can be applied from Strings to CRS only.

2015-02-27 15:22:34,469 DEBUG [geotools.util] - InterpolationConverterFactory can be applied from Strings to Interpolation only.

2015-02-27 15:22:34,470 ERROR [geotools.rendering] - ETYPE 4 inconsistent with expected LINE

java.lang.IllegalArgumentException: ETYPE 4 inconsistent with expected LINE

at org.geotools.data.oracle.sdo.SDO.createMultiLine(SDO.java:2915)

at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2434)

at org.geotools.data.oracle.sdo.SDO.create(SDO.java:2393)

at org.geotools.data.oracle.sdo.GeometryConverter.asGeometry(GeometryConverter.java:125)

at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:545)

at org.geotools.data.oracle.OracleDialect.readGeometry(OracleDialect.java:531)

at org.geotools.data.oracle.OracleDialect.decodeGeometryValue(OracleDialect.java:494)

at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:330)

at org.geotools.jdbc.JDBCFeatureReader.next(JDBCFeatureReader.java:75)

This might mean we have some cases that are not handled correctly curve wise yet.

Could you open a ticket at http://jira.codehaus.org/browse/GEOS and attach some sql to recreate

the problem (enough data to see the problem)

Cheers

Andrea

==

GeoServer Professional Services from the experts! Visit

http://goo.gl/NWWaa2 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

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.