[Geoserver-devel] not support text object in MIFFile

Hi all, I am testing with MIFDataStore (mif-2[1].2.x.jar) and not support the text object. is there some version of MIFDataStore that support this?
and, when I try to execute a project with MIFDataStore code (downloaded of http://svn.geotools.org/geotools/trunk/gt/plugin/mif/), not work, but when I add to project the mif-2[1].2.x.jar library then work normally. I think that the code in this link is incomplete…
Regards.
OZB.

Sig (cced) is the person to ask, as he's the module maintainer for mif.
He can answer if there's a version of the datastore that supports text
objects.

To get the MIFDataStore code from the svn.geotools.org to work you need
to check out the repository with a subversion client, and then you have
to build it with Maven. You will have to build the whole geotools
project, and then in the plugin/mif directory there will be a target/
directory, which will contain the newly built jar. You then copy that
jar to your geoserver lib/ directory. More detailed directions on
building geotools are available here: http://geotools.org/Building
Apologies if you're already doing that - if the resulting jar is not
working then let us know what the error is.

best regards,

Chris

Quoting Omar Zevallos <omzeta@anonymised.com>:

Hi all, I am testing with MIFDataStore (mif-2[1].2.x.jar) and not
support the text object. is there some version of MIFDataStore that
support this?
and, when I try to execute a project with MIFDataStore code
(downloaded of
http://svn.geotools.org/geotools/trunk/gt/plugin/mif/), not work, but
when I add to project the mif-2[1].2.x.jar library then work
normally. I think that the code in this link is incomplete...
Regards.
OZB.

----------------------------------------------------------
This mail sent through IMP: https://webmail.limegroup.com/

Hi all,

On 5 Aug 2005 at 7:52, Chris Holmes wrote:

Quoting Omar Zevallos <omzeta@anonymised.com>:

> Hi all, I am testing with MIFDataStore (mif-2[1].2.x.jar) and not
> support the text object. is there some version of MIFDataStore that
> support this?

when I implemented the MIFDataStore I decided not to support all
that kind of MapInfo objects which deal more with general
cartographic rendering problems rather than with GIS, like text,
roundrect and so on. From a geo-db perspective, if I have to render
"Mt. S. Helen" on a 1:10.000 map so that it's shown as Verdana 14
bold, this should be simply derived by some properties of the object
which has been labelled.

But I do realize that often we have to deal with data even if it
doesn't fit our orthodoxical point of view :o))))) so I think I was
wrong, at least with text objects, and should give users the ability
to read and the possibly write the data.

Given that JTS has no explicit support for text object, and that a
MapInfo text object has the following attributes:

Text string
boundary (x1, y1, x2, y2) (not an MBR thus)
Angle (label rotation)
[line with x,y coordinates of the arrow point]
style info: font, size, spacing etc...

MIFDataStore could either:

1. Define a Text class derived from Geometry which could behave like
a point or rect, and offer storage for text attributes; this could
cause compatibility problems with other GeoTools components, but I'm
not sure about this;

or

2. Read text objects as if they were points (or rects) storing the
text string and angle in Feature attributes. The Feature could have
TEXT_ANGLE, TEXT_LABEL, TEXT_SPACING attributes. This could make
difficult implementing a write support for this kind of objects.

I'm more oriented towards solution n. 2, even if n. 1 is cleaner. I'm
close to leave for a 10 days holiday, so I'll work on this when I'm
back. Meantime, I would be glad to hear your opinions about this
issue. I'll open a jira task, too.

Cheers

Sig

--
Luca Sigfrido Percich (luca.percich@anonymised.com)
Agenzia Milanese Mobilità e Ambiente s.r.l. (http://www.ama-mi.it)
Direzione Sistemi Informativi e Modellistica
Via Beccaria, 19 - 20122 Milano - tel. +39 02 884.67.262

Hi all, thank Luca Sigfrido for the recommendations to support text object
in Mapinfo. I have problems with performace in GeoServer, I work with
several mif and mid files that belong to catography of my district, a map is
8 Mb and other 13 Mb size and when working them with GeoServer, this process
(GetFeature?typename=Basico_Arequipa) takes a long time to recover all data.
The browser sometimes doesn´t response and crash. Is there some way to
optimize this process?
Regards.

Hi all and sorry for the late reply (I was on holiday).

On 11 Aug 2005 at 11:36, Omar Zevallos wrote:

Hi all, thank Luca Sigfrido for the recommendations to support text
object in Mapinfo. I have problems with performace in GeoServer, I
work with several mif and mid files that belong to catography of my
district, a map is 8 Mb and other 13 Mb size and when working them
with GeoServer, this process (GetFeature?typename=Basico_Arequipa)
takes a long time to recover all data. The browser sometimes doesn´t
response and crash. Is there some way to optimize this process?

Unfortunately MIFDataStore reads data sequentially from a text
format, so probably a good solution could be caching ther data using
something like a MemoryDataStore...

A quick workaround could be writing a simple CachingDataStoreFactory
which passess a subset of its parameters to DataStoreFinder (so it
can be used to cache any DataStore), then loads all the features of
the requested FeatureType (maybe after applying a filter using a
given string expression) in a MemoryDataStore and returns it. But I'm
not so deep into GeoServer... is there a chance that the same
instance of DataStore is used, so avoiding that data is reloaded each
time?

I'll try to implement the support for text objects in MIF ASAP.

Cheers

Sig

Hi there, about MIFDataStore, I have installed it to GeoServer1.3 and have
loaded the GetFeature?typename=basico_arequipa, it delayed in loading. The
biggest problem is that when I try to load these data with a browser (uDig,
MapInfo, etc), it doesn't load anything, that is to say, it doesn't draw any
map.
what is the problem? Maybe to the use of the correct SRS ?
Please help

Hi all, I am needing with extreme urgency a viewer data given back by WFS
(GML2 format). I have been trying with the MapBuilder, but sometimes it does
not show the graphs, so I am looking for another viewer (that it can be
inlaid in a page). Help please!!
Regards.

Hi Omar,

We have a page with a list of clients here: http://docs.codehaus.org/display/GEOSDOC/clients

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

Hi all, I am needing with extreme urgency a viewer data given back by WFS
(GML2 format). I have been trying with the MapBuilder, but sometimes it does
not show the graphs, so I am looking for another viewer (that it can be
inlaid in a page). Help please!!
Regards.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

hi all, I have installed GeoServer1.3rc7 with PostGIS 8.1.0 and I have
MultiLineString data in a spacial table and when I requested a :
http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml

I get a error:

UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString

I don´t know what happening.
Regards.

Hi Omar,

Could you give us the full stacktrace?
I think I have seen this problem before with multilinestrings, but I can't remember what the issue was. Maybe the list has an idea.

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

hi all, I have installed GeoServer1.3rc7 with PostGIS 8.1.0 and I have
MultiLineString data in a spacial table and when I requested a :
http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml

I get a error:

UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString

I don´t know what happening.
Regards.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi Omar,

Could you give us the full stacktrace?
I think I have seen this problem before with multilinestrings, but I can't remember what the issue was. Maybe the list has an idea.

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

hi all, I have installed GeoServer1.3rc7 with PostGIS 8.1.0 and I have
MultiLineString data in a spacial table and when I requested a :
http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml

I get a error:

UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString

I don´t know what happening.
Regards.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi Omar,

Could you give us the full stacktrace?
I think I have seen this problem before with multilinestrings, but I can't remember what the issue was. Maybe the list has an idea.

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

hi all, I have installed GeoServer1.3rc7 with PostGIS 8.1.0 and I have
MultiLineString data in a spacial table and when I requested a :
http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml

I get a error:

UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString

I don´t know what happening.
Regards.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi, here is the full stacktrace to execute:
http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml

17750 [FINA] org.vfny.geoserver.util.requests.readers.KvpRequestReader -
clean request is
bbox=3.37,13.25,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=
400&srs=EPSG:4326&styles=linea_simple&Format=image/svg xml
17750 [FINA] org.vfny.geoserver.util.requests.readers.KvpRequestReader -
returning parsed {SRS=EPSG:4326, LAYERS=arequipa,
BBOX=3.37,13.25,38.78,36.06, HEIGHT=400, REQUEST=GetMap,
STYLES=linea_simple, WIDTH=800, FORMAT=image/svg xml}
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Looking for
configured service responses' strategy
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Looking for
configured service strategy PARTIAL-BUFFER
17828 [FINA] org.vfny.geoserver.servlets.AbstractService - verifying
configured strategy
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Using service
strategy class org.vfny.geoserver.servlets.PartialBufferStrategy
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Set buffer size
to 50
17828 [FINA] org.vfny.geoserver.servlets.AbstractService - reading request:
bbox=3.37,13.25,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=
400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml
18047 [FINA] org.vfny.geoserver.global.Data - getting type arequipa
18047 [FINA] org.geotools.data.postgis.PostgisDataStore - get Feature
source called on arequipa
18047 [FINA] org.geotools.data.postgis.PostgisDataStore - returning pg
featurelocking
18125 [FINA] DefaultFactory - Unavailable factory: European Petroleum
Survey Group
18140 [FINA] org.geotools.styling.StyleImpl - number of fts set 1
18140 [FINA] org.vfny.geoserver.wms.requests.GetMapKvpReader - establishing
linea_simple style for topp:arequipa
18140 [FINA] DefaultFactory - Unavailable factory: European Petroleum
Survey Group
18156 [INFO] org.vfny.geoserver.servlets.AbstractService - handling
request: org.vfny.geoserver.wms.requests.GetMapRequest@anonymised.com
18156 [FINA] org.vfny.geoserver.servlets.AbstractService - strategy is:
org.vfny.geoserver.servlets.PartialBufferStrategy@anonymised.com
18797 [CONFIG] org.vfny.geoserver.wms.responses.helpers.JAISupport -
SupportedJAIMapResponse's MIME Types: [image/jpeg]
18812 [FINA] org.vfny.geoserver.wms.responses.GetMapResponse - setting up
map
18812 [FINA] org.geotools.data.postgis.PostgisDataStore - get Feature
source called on arequipa
18812 [FINA] org.geotools.data.postgis.PostgisDataStore - returning pg
featurelocking
18843 [FINA] org.vfny.geoserver.servlets.AbstractService - mime type is:
image/svg+xml
18922 [FINA] org.vfny.geoserver.wms.responses.map.svg.EncodeSVG - obtaining
FeatureReader for arequipa
18953 [FINA] org.geotools.data.jdbc.JDBC1DataStore - calling sql builder
with filter [ POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06, 38.78 13.25,
3.37 13.25)) intersects the_geom ]
18953 [FINA] org.geotools.data.jdbc.JDBC1DataStore - sql is SELECT "gid",
"id", bytea(AsBinary(force_2d("the_geom"), 'XDR')) FROM "arequipa" WHERE
GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06, 38.78
13.25, 3.37 13.25))', -1) && "the_geom" AND
intersects(GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06,
38.78 13.25, 3.37 13.25))', -1), "the_geom")
18953 [FINA] org.geotools.data.jdbc.JDBC1DataStore - About to execute
query: SELECT "gid", "id", bytea(AsBinary(force_2d("the_geom"), 'XDR')) FROM
"arequipa" WHERE GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78
36.06, 38.78 13.25, 3.37 13.25))', -1) && "the_geom" AND
intersects(GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06,
38.78 13.25, 3.37 13.25))', -1), "the_geom")
18968 [FINA] org.geotools.data.jdbc.ConnectionPool - Getting available
connection.
19062 [FINA] org.vfny.geoserver.wms.responses.map.svg.EncodeSVG - got
FeatureReader, now writing
19109 [ADVERTENCIA] org.vfny.geoserver.wms.responses.map.svg.EncodeSVG -
UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString
19109 [FINA] org.geotools.data.jdbc.ConnectionPool$ConnectionListManager -
Connection closed - adding to available connections.
19109 [FINA] org.vfny.geoserver.wms.responses.GetMapResponse - asking
delegatefor aborting the process
19109 [FINA] org.vfny.geoserver.wms.responses.map.SVGMapProducer - aborting
SVG map response
19109 [INFO] org.vfny.geoserver.wms.responses.map.SVGMapProducer - aborting
SVG encoder
19109 [INFO] org.vfny.geoserver.servlets.PartialBufferStrategy -
OutputStream was successfully aborted.
19109 [INFO] org.vfny.geoserver.servlets.AbstractService - Had an undefined
error: UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString
org.vfny.geoserver.wms.WmsException: UNCAUGHT exception:
com.vividsolutions.jts.geom.MultiLineString
        at
org.vfny.geoserver.wms.WmsExceptionHandler.newServiceException(WmsExceptionH
andler.java:64)
        at
org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.java:7
49)
        at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:5
21)
        at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:276)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse(WmsDispatcher.java:
156)
        at
org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet(WmsDispatcher.java:115)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:294)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:525)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
        at org.mortbay.http.HttpServer.service(HttpServer.java:879)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: java.io.IOException: UNCAUGHT exception:
com.vividsolutions.jts.geom.MultiLineString
        at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter$MultiPointWriter.writeGeo
metry(SVGWriter.java:944)
        at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter$SVGFeatureWriterHandler.w
riteGeometry(SVGWriter.java:467)
        at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter.writeFeature(SVGWriter.ja
va:406)
        at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter.writeFeatures(SVGWriter.j
ava:345)
        at
org.vfny.geoserver.wms.responses.map.svg.EncodeSVG.writeLayers(EncodeSVG.jav
a:226)
        at
org.vfny.geoserver.wms.responses.map.svg.EncodeSVG.encode(EncodeSVG.java:91)
        at
org.vfny.geoserver.wms.responses.map.SVGMapProducer.writeTo(SVGMapProducer.j
ava:98)
        at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:
224)
        at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:5
10)
        ... 20 more

Regards.

----- Original Message -----
From: "Brent Owens" <brentowens@anonymised.com>
To: "Omar Zevallos" <omzeta@anonymised.com>
Cc: <geoserver-devel@lists.sourceforge.net>
Sent: Sunday, January 29, 2006 8:41 PM
Subject: Re: [Geoserver-devel] trouble about MultiLineString

Hi Omar,

Could you give us the full stacktrace?
I think I have seen this problem before with multilinestrings, but I
can't remember what the issue was. Maybe the list has an idea.

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

>hi all, I have installed GeoServer1.3rc7 with PostGIS 8.1.0 and I have
>MultiLineString data in a spacial table and when I requested a :

http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetM

ap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Fo
rmat=image/svg+xml

>
>I get a error:
>
>UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString
>
>I don´t know what happening.
>Regards.
>
>
>
>-------------------------------------------------------
>This SF.net email is sponsored by: Splunk Inc. Do you grep through log

files

>for problems? Stop! Download the new AJAX search engine that makes
>searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
>http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
>_______________________________________________
>Geoserver-devel mailing list
>Geoserver-devel@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/geoserver-devel
>
>
>

Hi Omar,

Looks like you found a bug. As you can see form the stack trace you are passing in a MultiLineString, but the error is happening in the MultiPointWriter. It should be sending to the MultiLinestringWriter. Here is where the issue is:

private void initWriters() {
        writers = new HashMap();
...
        writers.put(MultiPoint.class, new MultiPointWriter());
        writers.put(MultiLineString.class, new MultiPointWriter());
...

I will fix it and post up a new geoserver.jar file for you to download some time today.

cheers,

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

Hi, here is the full stacktrace to execute:
http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml

17750 [FINA] org.vfny.geoserver.util.requests.readers.KvpRequestReader -
clean request is
bbox=3.37,13.25,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=
400&srs=EPSG:4326&styles=linea_simple&Format=image/svg xml
17750 [FINA] org.vfny.geoserver.util.requests.readers.KvpRequestReader -
returning parsed {SRS=EPSG:4326, LAYERS=arequipa,
BBOX=3.37,13.25,38.78,36.06, HEIGHT=400, REQUEST=GetMap,
STYLES=linea_simple, WIDTH=800, FORMAT=image/svg xml}
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Looking for
configured service responses' strategy
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Looking for
configured service strategy PARTIAL-BUFFER
17828 [FINA] org.vfny.geoserver.servlets.AbstractService - verifying
configured strategy
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Using service
strategy class org.vfny.geoserver.servlets.PartialBufferStrategy
17828 [INFO] org.vfny.geoserver.servlets.AbstractService - Set buffer size
to 50
17828 [FINA] org.vfny.geoserver.servlets.AbstractService - reading request:
bbox=3.37,13.25,38.78,36.06&request=GetMap&layers=arequipa&width=800&height=
400&srs=EPSG:4326&styles=linea_simple&Format=image/svg+xml
18047 [FINA] org.vfny.geoserver.global.Data - getting type arequipa
18047 [FINA] org.geotools.data.postgis.PostgisDataStore - get Feature
source called on arequipa
18047 [FINA] org.geotools.data.postgis.PostgisDataStore - returning pg
featurelocking
18125 [FINA] DefaultFactory - Unavailable factory: European Petroleum
Survey Group
18140 [FINA] org.geotools.styling.StyleImpl - number of fts set 1
18140 [FINA] org.vfny.geoserver.wms.requests.GetMapKvpReader - establishing
linea_simple style for topp:arequipa
18140 [FINA] DefaultFactory - Unavailable factory: European Petroleum
Survey Group
18156 [INFO] org.vfny.geoserver.servlets.AbstractService - handling
request: org.vfny.geoserver.wms.requests.GetMapRequest@anonymised.com
18156 [FINA] org.vfny.geoserver.servlets.AbstractService - strategy is:
org.vfny.geoserver.servlets.PartialBufferStrategy@anonymised.com
18797 [CONFIG] org.vfny.geoserver.wms.responses.helpers.JAISupport -
SupportedJAIMapResponse's MIME Types: [image/jpeg]
18812 [FINA] org.vfny.geoserver.wms.responses.GetMapResponse - setting up
map
18812 [FINA] org.geotools.data.postgis.PostgisDataStore - get Feature
source called on arequipa
18812 [FINA] org.geotools.data.postgis.PostgisDataStore - returning pg
featurelocking
18843 [FINA] org.vfny.geoserver.servlets.AbstractService - mime type is:
image/svg+xml
18922 [FINA] org.vfny.geoserver.wms.responses.map.svg.EncodeSVG - obtaining
FeatureReader for arequipa
18953 [FINA] org.geotools.data.jdbc.JDBC1DataStore - calling sql builder
with filter [ POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06, 38.78 13.25,
3.37 13.25)) intersects the_geom ]
18953 [FINA] org.geotools.data.jdbc.JDBC1DataStore - sql is SELECT "gid",
"id", bytea(AsBinary(force_2d("the_geom"), 'XDR')) FROM "arequipa" WHERE
GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06, 38.78
13.25, 3.37 13.25))', -1) && "the_geom" AND
intersects(GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06,
38.78 13.25, 3.37 13.25))', -1), "the_geom")
18953 [FINA] org.geotools.data.jdbc.JDBC1DataStore - About to execute
query: SELECT "gid", "id", bytea(AsBinary(force_2d("the_geom"), 'XDR')) FROM
"arequipa" WHERE GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78
36.06, 38.78 13.25, 3.37 13.25))', -1) && "the_geom" AND
intersects(GeometryFromText('POLYGON ((3.37 13.25, 3.37 36.06, 38.78 36.06,
38.78 13.25, 3.37 13.25))', -1), "the_geom")
18968 [FINA] org.geotools.data.jdbc.ConnectionPool - Getting available
connection.
19062 [FINA] org.vfny.geoserver.wms.responses.map.svg.EncodeSVG - got
FeatureReader, now writing
19109 [ADVERTENCIA] org.vfny.geoserver.wms.responses.map.svg.EncodeSVG -
UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString
19109 [FINA] org.geotools.data.jdbc.ConnectionPool$ConnectionListManager -
Connection closed - adding to available connections.
19109 [FINA] org.vfny.geoserver.wms.responses.GetMapResponse - asking
delegatefor aborting the process
19109 [FINA] org.vfny.geoserver.wms.responses.map.SVGMapProducer - aborting
SVG map response
19109 [INFO] org.vfny.geoserver.wms.responses.map.SVGMapProducer - aborting
SVG encoder
19109 [INFO] org.vfny.geoserver.servlets.PartialBufferStrategy -
OutputStream was successfully aborted.
19109 [INFO] org.vfny.geoserver.servlets.AbstractService - Had an undefined
error: UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString
org.vfny.geoserver.wms.WmsException: UNCAUGHT exception:
com.vividsolutions.jts.geom.MultiLineString
       at
org.vfny.geoserver.wms.WmsExceptionHandler.newServiceException(WmsExceptionH
andler.java:64)
       at
org.vfny.geoserver.servlets.AbstractService.sendError(AbstractService.java:7
49)
       at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:5
21)
       at
org.vfny.geoserver.servlets.AbstractService.doGet(AbstractService.java:276)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at
org.vfny.geoserver.wms.servlets.WmsDispatcher.doResponse(WmsDispatcher.java:
156)
       at
org.vfny.geoserver.wms.servlets.WmsDispatcher.doGet(WmsDispatcher.java:115)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
       at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
       at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:358)
       at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandl
er.java:294)
       at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:567)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1807)
       at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext
.java:525)
       at org.mortbay.http.HttpContext.handle(HttpContext.java:1757)
       at org.mortbay.http.HttpServer.service(HttpServer.java:879)
       at org.mortbay.http.HttpConnection.service(HttpConnection.java:790)
       at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:961)
       at org.mortbay.http.HttpConnection.handle(HttpConnection.java:807)
       at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:197)
       at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:276)
       at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:511)
Caused by: java.io.IOException: UNCAUGHT exception:
com.vividsolutions.jts.geom.MultiLineString
       at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter$MultiPointWriter.writeGeo
metry(SVGWriter.java:944)
       at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter$SVGFeatureWriterHandler.w
riteGeometry(SVGWriter.java:467)
       at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter.writeFeature(SVGWriter.ja
va:406)
       at
org.vfny.geoserver.wms.responses.map.svg.SVGWriter.writeFeatures(SVGWriter.j
ava:345)
       at
org.vfny.geoserver.wms.responses.map.svg.EncodeSVG.writeLayers(EncodeSVG.jav
a:226)
       at
org.vfny.geoserver.wms.responses.map.svg.EncodeSVG.encode(EncodeSVG.java:91)
       at
org.vfny.geoserver.wms.responses.map.SVGMapProducer.writeTo(SVGMapProducer.j
ava:98)
       at
org.vfny.geoserver.wms.responses.GetMapResponse.writeTo(GetMapResponse.java:
224)
       at
org.vfny.geoserver.servlets.AbstractService.doService(AbstractService.java:5
10)
       ... 20 more

Regards.

----- Original Message ----- From: "Brent Owens" <brentowens@anonymised.com>
To: "Omar Zevallos" <omzeta@anonymised.com>
Cc: <geoserver-devel@lists.sourceforge.net>
Sent: Sunday, January 29, 2006 8:41 PM
Subject: Re: [Geoserver-devel] trouble about MultiLineString

Hi Omar,

Could you give us the full stacktrace?
I think I have seen this problem before with multilinestrings, but I
can't remember what the issue was. Maybe the list has an idea.

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

hi all, I have installed GeoServer1.3rc7 with PostGIS 8.1.0 and I have
MultiLineString data in a spacial table and when I requested a :
     

http://localhost:8080/gs1.3rc7/wms?bbox=3.37,13.26,38.78,36.06&request=GetM
   

ap&layers=arequipa&width=800&height=400&srs=EPSG:4326&styles=linea_simple&Fo
rmat=image/svg+xml

I get a error:

UNCAUGHT exception: com.vividsolutions.jts.geom.MultiLineString

I don´t know what happening.
Regards.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
     

files

for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi all, I do not find information about Styling SVG with GeoServer or some
example applying this. I found that geoserver has support for SVG
(http://docs.codehaus.org/display/GEOSDOC/WMS+Configuration).
Regards.

This page (http://docs.codehaus.org/display/GEOSDOC/SVG) has some information on SVG styling.
There are two ways to render SVG in GeoServer: simple/fast and complex/slow. You can change the settings in the administration menu under WMS/rendering.

All you have to do is give your layer a style, and then make a WMS request against it and have the output as SVG:

Format=image/svg+xml

Brent Owens
(The Open Planning Project)

Omar Zevallos wrote:

Hi all, I do not find information about Styling SVG with GeoServer or some
example applying this. I found that geoserver has support for SVG
(http://docs.codehaus.org/display/GEOSDOC/WMS+Configuration).
Regards.

-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi all, I have a problem to consulting WFS. How to avoid that the WFS takes
04 like number in a consulting? the request is the next:

<wfs:GetFeature service="WFS" version="1.0.0" outputFormat="GML2"
xmlns:myns="http://www.someserver.com/myns&quot;
xmlns:wfs="http://www.opengis.net/wfs&quot;
xmlns:ogc="http://www.opengis.net/ogc&quot;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance&quot;
xsi:schemaLocation="http://www.opengis.net/wfs ../wfs/1.0.0/WFS-basic.xsd">
<wfs:Query typeName="topp:lotizacion">
  <ogc:Filter>
   <ogc:PropertyIsEqualTo>
    <ogc:PropertyName>coddpto</ogc:PropertyName>
    <ogc:Literal>04</ogc:Literal>
   </ogc:PropertyIsEqualTo>
  </ogc:Filter>
</wfs:Query>
</wfs:GetFeature>

the field coddpto is char(2) type and when do the consulting, the WFS takes
the 04 like a number, then 4 and it do not return any data.
Thanks in advance