librelist archives

« back to archive

Strange rotation

Strange rotation

From:
Joe Larson
Date:
2012-02-02 @ 03:32
If you have a moment, see this image http://imgur.com/VpvRa I'm getting 
weird rotation (and invert-ion) when I download a shp.zip from GeoNode. If
I connect to the PostGIS db it's normal, the WFS is normal <-- in QGIS. 
The KML is normal. It appears to only be with one layer - I've reproj'd it
from 4269 to 4326 uploaded new to PostGIS>GeoServer and same behavior. 
-joe

Re: [geonode] Strange rotation

From:
David Winslow
Date:
2012-02-03 @ 20:09
Looks like GeoServer is flipping the axes on your data when you export to
Shapefile.  This is somehow related to WFS 1.3 but I am fuzzy on the
details.  I think we should be able to fix it just by adding or tweaking
some parameters in the code that generates the download link.  (Sorry to be
so vague but I don't have a good reference to point to for this issue.)

--
David Winslow
OpenGeo - http://opengeo.org/

On Wed, Feb 1, 2012 at 10:32 PM, Joe Larson <joelarso@gmail.com> wrote:

> If you have a moment, see this image http://imgur.com/VpvRa I'm getting
> weird rotation (and invert-ion) when I download a shp.zip from GeoNode. If
> I connect to the PostGIS db it's normal, the WFS is normal <-- in QGIS. The
> KML is normal. It appears to only be with one layer - I've reproj'd it from
> 4269 to 4326 uploaded new to PostGIS>GeoServer and same behavior. -joe
>

Re: [geonode] Strange rotation

From:
Alex Mandel
Date:
2012-02-03 @ 20:55
On 02/03/2012 12:09 PM, David Winslow wrote:
> Looks like GeoServer is flipping the axes on your data when you export to
> Shapefile.  This is somehow related to WFS 1.3 but I am fuzzy on the
> details.  I think we should be able to fix it just by adding or tweaking
> some parameters in the code that generates the download link.  (Sorry to be
> so vague but I don't have a good reference to point to for this issue.)
> 
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> 
> On Wed, Feb 1, 2012 at 10:32 PM, Joe Larson <joelarso@gmail.com> wrote:
> 
>> If you have a moment, see this image http://imgur.com/VpvRa I'm getting
>> weird rotation (and invert-ion) when I download a shp.zip from GeoNode. If
>> I connect to the PostGIS db it's normal, the WFS is normal <-- in QGIS. The
>> KML is normal. It appears to only be with one layer - I've reproj'd it from
>> 4269 to 4326 uploaded new to PostGIS>GeoServer and same behavior. -joe
>>
> 

I think I reported a ticket on this a few months back...with a quick
hack fix to the url you can get a file that works as expected.

http://dev.geonode.org/trac/ticket/1001

Enjoy,
Alex

Re: [geonode] Strange rotation

From:
Joe Larson
Date:
2012-02-03 @ 22:04
Thank you Alex and David - appending &version=1.0.0 to the URL does indeed
do the trick. It still seems weird to me that this only occurs on this one
layer and not all shp.zip 's (but I'm glad it's not that prevalent). -joe

On Feb 3, 2012, at 12:55 PM, Alex Mandel wrote:

> On 02/03/2012 12:09 PM, David Winslow wrote:
>> Looks like GeoServer is flipping the axes on your data when you export to
>> Shapefile.  This is somehow related to WFS 1.3 but I am fuzzy on the
>> details.  I think we should be able to fix it just by adding or tweaking
>> some parameters in the code that generates the download link.  (Sorry to be
>> so vague but I don't have a good reference to point to for this issue.)
>> 
>> --
>> David Winslow
>> OpenGeo - http://opengeo.org/
>> 
>> On Wed, Feb 1, 2012 at 10:32 PM, Joe Larson <joelarso@gmail.com> wrote:
>> 
>>> If you have a moment, see this image http://imgur.com/VpvRa I'm getting
>>> weird rotation (and invert-ion) when I download a shp.zip from GeoNode. If
>>> I connect to the PostGIS db it's normal, the WFS is normal <-- in QGIS. The
>>> KML is normal. It appears to only be with one layer - I've reproj'd it from
>>> 4269 to 4326 uploaded new to PostGIS>GeoServer and same behavior. -joe
>>> 
>> 
> 
> I think I reported a ticket on this a few months back...with a quick
> hack fix to the url you can get a file that works as expected.
> 
> http://dev.geonode.org/trac/ticket/1001
> 
> Enjoy,
> Alex

Re: [geonode] Strange rotation

From:
David Winslow
Date:
2012-02-03 @ 22:11
Are your other layers in the same projection?

btw thanks to Alex doing the legwork on tracking down the VERSION parameter
I'll be able to include this fix in the upcoming 1.1 release, so keep an
eye out for that.  Barring alien influences I expect it to come out next
week.

--
David Winslow
OpenGeo - http://opengeo.org/

On Fri, Feb 3, 2012 at 5:04 PM, Joe Larson <joelarso@gmail.com> wrote:

> Thank you Alex and David - appending &version=1.0.0 to the URL does
> indeed do the trick. It still seems weird to me that this only occurs on
> this one layer and not all shp.zip 's (but I'm glad it's not that
> prevalent). -joe
>
> On Feb 3, 2012, at 12:55 PM, Alex Mandel wrote:
>
> On 02/03/2012 12:09 PM, David Winslow wrote:
>
> Looks like GeoServer is flipping the axes on your data when you export to
>
> Shapefile.  This is somehow related to WFS 1.3 but I am fuzzy on the
>
> details.  I think we should be able to fix it just by adding or tweaking
>
> some parameters in the code that generates the download link.  (Sorry to be
>
> so vague but I don't have a good reference to point to for this issue.)
>
>
> --
>
> David Winslow
>
> OpenGeo - http://opengeo.org/
>
>
> On Wed, Feb 1, 2012 at 10: 32 PM, Joe Larson <joelarso@gmail.com> wrote:
>
>
> If you have a moment, see this image http://imgur.com/VpvRa I'm getting
>
> weird rotation (and invert-ion) when I download a shp.zip from GeoNode. If
>
> I connect to the PostGIS db it's normal, the WFS is normal <-- in QGIS. The
>
> KML is normal. It appears to only be with one layer - I've reproj'd it from
>
> 4269 to 4326 uploaded new to PostGIS>GeoServer and same behavior. -joe
>
>
>
>
> I think I reported a ticket on this a few months back...with a quick
> hack fix to the url you can get a file that works as expected.
>
> http://dev.geonode.org/trac/ticket/1001
>
> Enjoy,
> Alex
>
>
>

Re: [geonode] Strange rotation

From:
Joe Larson
Date:
2012-02-03 @ 22:37
Ok, after further testing - it appears the rotation/invert occurs (for me)
w/ Geographic coordinate systems (EPSG's 4269, 4326) but not for 
Projected(EPSG's 2229, 3310). 

On Feb 3, 2012, at 2:11 PM, David Winslow wrote:

> Are your other layers in the same projection?
> 
> btw thanks to Alex doing the legwork on tracking down the VERSION 
parameter I'll be able to include this fix in the upcoming 1.1 release, so
keep an eye out for that.  Barring alien influences I expect it to come 
out next week.
> 
> --
> David Winslow
> OpenGeo - http://opengeo.org/
> 
> On Fri, Feb 3, 2012 at 5:04 PM, Joe Larson <joelarso@gmail.com> wrote:
> Thank you Alex and David - appending &version=1.0.0 to the URL does 
indeed do the trick. It still seems weird to me that this only occurs on 
this one layer and not all shp.zip 's (but I'm glad it's not that 
prevalent). -joe
> 
> On Feb 3, 2012, at 12:55 PM, Alex Mandel wrote:
> 
>> On 02/03/2012 12:09 PM, David Winslow wrote:
>>> Looks like GeoServer is flipping the axes on your data when you export to
>>> Shapefile.  This is somehow related to WFS 1.3 but I am fuzzy on the
>>> details.  I think we should be able to fix it just by adding or tweaking
>>> some parameters in the code that generates the download link.  (Sorry to be
>>> so vague but I don't have a good reference to point to for this issue.)
>>> 
>>> --
>>> David Winslow
>>> OpenGeo - http://opengeo.org/
>>> 
>>> On Wed, Feb 1, 2012 at 10: 32 PM, Joe Larson <joelarso@gmail.com> wrote:
>>> 
>>>> If you have a moment, see this image http://imgur.com/VpvRa I'm getting
>>>> weird rotation (and invert-ion) when I download a shp.zip from GeoNode. If
>>>> I connect to the PostGIS db it's normal, the WFS is normal <-- in QGIS. The
>>>> KML is normal. It appears to only be with one layer - I've reproj'd it from
>>>> 4269 to 4326 uploaded new to PostGIS>GeoServer and same behavior. -joe
>>> 
>>> 
>> 
>> I think I reported a ticket on this a few months back...with a quick
>> hack fix to the url you can get a file that works as expected.
>> 
>> http://dev.geonode.org/trac/ticket/1001
>> 
>> Enjoy,
>> Alex
> 
>