Yes!
Thanks for the hint, the problem was with geometry_columns, I have altered
the type to MULTILINESTRING and now it works. I have altered and published
the table with the same name several times, and somewhere along the line
"type" in geometry_colums stopped updating...
BR,
---
Zoran Janković
ZIS-Izrada softvera i savjetovanje / ZIS - Software Development and
Consulting
http://www.zisis.hr
M: 00 385 98 682 902
T: 00 385 44 683 374
A. Å enoe 4
44320 Kutina
Croatia
On Tue, Jul 5, 2011 at 10:17 PM, Andrea Aime
<[email protected]>wrote:
> On Tue, Jul 5, 2011 at 10:03 PM, Zoran Jankovic <
> [email protected]> wrote:
>
>> Hi list,
>>
>> In postgis I have a table with MULTILINESTRING, according to:
>>
>> SELECT geometrytype(the_geom) from...
>>
>> When I add this table (Publish) in Geserver I get
>>
>> Geometrytype: LineString
>>
>> Why does Geoserver not recognize geometry type correctly established in
>> Postgis? How can I "force" Geoserver to recognize geometry type as
>> MultiLineString?
>>
>> The configuration is Geoserver 2.0.2 under Tomcat, Ubuntu, Postgis 2.0 on
>> Postgres 8.4.
>>
>
> The 2.0.x series is dead. If you can reproduce with 2.1.1 I would be
> interested in seeing the contents of
> geometry_columns, maybe that can give us some ideas.
>
> Cheers
> Andrea
>
>
> --
> -------------------------------------------------------
> Ing. Andrea Aime
> GeoSolutions S.A.S.
> Tech lead
>
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584 962313
> fax: +39 0584 962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.youtube.com/user/GeoSolutionsIT
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -------------------------------------------------------
>
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users