[Gvsig_english] Problem with ConcreteMemoryDriver

Antonio Falciano afalciano at yahoo.it
Thu Jun 21 09:56:44 CEST 2007


Yves voirin ha scritto:
> Hi,
> 
> I would like to use the ConcreteMemoryDriver class in an extension, but I
> have a problem with the method getFullExtent(). The method does not give
> the right result.
> 
> I did a simple test. I load a shapefile with this fullextent
> (java.awt.geom.Rectangle2D$Double[x=-72.0030675,y=45.80793875,w=0.16806750000000648,h=0.08857749999999953])
> and I copy all the geometries in a ConcreteMemoryDriver. The fullextent of
> this ConcreteMemoryDriver is
> java.awt.Rectangle[x=-73,y=45,width=2,height=1].
> 
> I do not have any idea about this problem. Do you have any suggestion ?

It's not enough clear what you did. Are the new geometries shown in the
view? Have you refreshed/invalidated the mapcontext by code? What kind
of geometries have you copied? Give us more elements to better
understand the problem.

Regards,
Antonio


More information about the Gvsig_internacional mailing list