[Qgis-user] vector layer only displays when zoomed out to layer extent

Nicolas Cadieux nicolas.cadieux at archeotec.ca
Mon Dec 16 19:43:48 PST 2019


Hi,
When you cross 360 degrees, some projections have difficulty dealing with that.  Try not crossing that or try splitting the shapes that cross it.
Nicolas

> Le 16 déc. 2019 à 22:32, Lee Eddington <lee.w.eddington at gmail.com> a écrit :
> 
> I’m not sure that’s the reason as I have plenty of points in my lines.  Also, I saved the densified layer to disk, but the saved layer has the same display problem as the original layer.
> 
> Lee
> 
> 
>> On Dec 16, 2019, at 8:35 AM, Nicolas Cadieux <nicolas.cadieux at archeotec.ca> wrote:
>> 
>> Hi,
>> 
>> If you have a very long straight line represented by only two point, reprojection operates only on those two points (called vertices or nodes).  The lines just represent a straight connections between two point.  The problem is that the earth is round (contrary to some popular belief :) and those long straight lines need to be bent depending on the projection being used.   Since reprojection and zooming only operates on vertices or nodes, densification adds nodes to the line giving more points to calculate and thus, less errors.
>> Cheer!
>> Nicolas
>> 
>> 
>> 
>>>> Le 16 déc. 2019 à 10:23, Lee Eddington <lee.w.eddington at gmail.com> a écrit :
>>> 
>>> Hi Nicolas,
>>> 
>>> Vector densification worked.  I went with the default 1 vertices to add and it created a new layer that now displays at any zoom level.  Can you explain why my original layer doesn’t display?
>>> 
>>> Thanks,
>>> Lee
>>> 
>>> 
>>>> On Dec 14, 2019, at 3:13 PM, Nicolas Cadieux <nicolas.cadieux at archeotec..ca> wrote:


More information about the Qgis-user mailing list