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

Andreas Hocevar ahocevar at opengeo.org
Thu Sep 11 07:31:50 EDT 2008


BrainDrain and Salvaro,

I created a ticket for this:

http://trac.openlayers.org/ticket/1732

Can you please apply the patch in this ticket and see if it resolves
the issue? Or just replace lib/OpenLayers/Renderer/VML.js with the
contents of the attached zip file?

Thanks!

On Thu, Sep 11, 2008 at 8:44 AM, BrainDrain <paulborodaev at gmail.com> wrote:
>
> 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.
>
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: VML.zip
Type: application/zip
Size: 6944 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20080911/3bcbcde9/VML.zip


More information about the Users mailing list