Rendering error with HSQLDB EPSG database
-----------------------------------------

                 Key: GEOT-3608
                 URL: http://jira.codehaus.org/browse/GEOT-3608
             Project: GeoTools
          Issue Type: Bug
          Components: core referencing, core render
    Affects Versions: 2.7.1
         Environment: Windows XP, JDK 1.6 u 19, Netbeans 7.0
            Reporter: Miguel Angel Vega Pabon
         Attachments: captures.zip, MapDemo.java

I tried to render a postgis datasource utilizing "gt-epsg-hsql-2.7.1.jar" (plus 
dependencies), with data from BOLIVIA and it renders in a wrong way, the output 
image is really wrong!.
But when i use a Shapefile DataStore, everything seems to work correctly, the 
output is right.

I attached 5 files:

- MapDemo.java, the code that use for my rendering
- countries_shp.png, the IMAGE produced using a shapefile data source 
(barrios.shp)
- countries_pg.png, the IMAGE produced using a POSTGIS data source (barrios)
>>>> For both files above take a look to the red rectangle, countries_shp.png 
>>>> shows the correct location of Bolivia.
- bolivia_shp.jpeg, this is the output of BARRIOS data source from postgres 
(WRONG).
- bolivia_shp.jpeg, this is the output of BARRIOS data source from a shapefile 
(RIGHT)



P.S. 
The postgis data has been created using the "pgsql2shp" tool of postgis.
The countries datasource "countries.shp" is a shapefile.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to