On Thu, Mar 3, 2011 at 6:23 PM, Micka <[email protected]> wrote:

> I just tried to preview a layer from a postgis datastore.
>
> the data come from a table created from shp2pgsql command
>
> /usr/lib/postgresql/9.0/bin/shp2pgsql -W LATIN1 -cDIk -s 4326 $filename
> $tableName | psql -d $database -U $username;
>
> In my table I just have 1 row.


Ah, you're hitting the world wrapping code, which does repeat the geometries
the same
way google maps does. It means your data is not really in 4326, otherwise
you'd not
get that effect

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
mob:    +39 333 8128928

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

-------------------------------------------------------
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to