[OpenLayers-Users] VectorLayer disappears at zoom 17 (and lesser).

BrainDrain paulborodaev at gmail.com
Thu Sep 11 02:44:35 EDT 2008


problem still exists in 2.7-rc1
vectors disappears
my solutions to avoid integer overflow in vml.js
input proj
"+proj=tmerc +lat_0=0 +lon_0=45 +k=1.000000 +x_0=0 +y_0=0 +ellps=krass
+towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=mm +no_defs"), 
need this output proj:
"+proj=tmerc +lat_0=48.70975 +lon_0=44.51205 +k=1.000000 +x_0=0 +y_0=0
+ellps=krass +towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=m +no_defs"
to fix problem I use output proj with offsets:
"+proj=tmerc +lat_0=48.70975 +lon_0=44.51205 +k=1.000000 +x_0=-20000
+y_0=5000000 +ellps=krass +towgs84=23.92,-141.27,-80.9,0,0,0,0 +units=m
+no_defs"
(as you can see, in my case: x-offset =-20000  y-offset=5000000)
maybe It's possible to use dd units (lonlat proj) but im my case
reprojection from mm(m) to dd produces
unacceptable features geometry



euzuro wrote:
> 
> Yes, please give the 2.7-rc1 a try... this should be fixed.
> 
> You can get it here:
> http://openlayers.org/api/2.7-rc1/OpenLayers.js
> 
> ...the final release should be out in a couple of weeks.
> Erik
> 
> 
> On Wed, Sep 10, 2008 at 8:33 AM, Christopher Schmidt
> <crschmidt at metacarta.com> wrote:
>> On Wed, Sep 10, 2008 at 06:32:14AM -0700, BrainDrain wrote:
>>>
>>> I think this can be related to this
>>> http://www.nabble.com/integer-overflow-while-drawing-vectors%2C-help%21-td19085568.html
>>> I use vector layer for measurement and my vectors disappears starting
>>> from
>>> some zoom scale (depends of how many zoom levels you have).
>>> But I fix this only by bring some 'false' offset parameters in my output
>>> projection((
>>
>> Try 2.7-rc1 and see if it fixes the problem.
>>
>> Regards,
>> --
>> Christopher Schmidt
>> MetaCarta
>> _______________________________________________
>> Users mailing list
>> Users at openlayers.org
>> http://openlayers.org/mailman/listinfo/users
>>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: http://www.nabble.com/VectorLayer-disappears-at-zoom-17-%28and-lesser%29.-tp19411610p19428805.html
Sent from the OpenLayers Users mailing list archive at Nabble.com.




More information about the Users mailing list