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

Andreas Hocevar ahocevar at opengeo.org
Thu Sep 11 04:33:35 EDT 2008


Wow, we never had a case wher integer overflows would occur in the
visible map extent. The test cases that were provided to us only
showed this behavior when geometries outside the visible extent had
too high coordinate numbers, and that is fixed in 1.7rc1.

Can you please provide a test case with a geometry where that happens?

Thanks!
Andreas.

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
>



More information about the Users mailing list