[Qgis-user] Using more SRS

Gerardo Jimenez gejst5 at hotmail.com
Sat Nov 5 17:37:07 PDT 2011


Glad to hear it works. I hit the grid wall in print composer to. Technically is not a graticule, since the projection units are meters, and composer will display the grid, and scale in the projection units. It would be interesting that Qgis could show a graticule or a measure grid. Right now you can only have a measure grid that display the projection units
Saludos

Gerardo Jiménez Delgado
Instituto de Investigaciones Antropológicas
Universidad Nacional Autónoma de México
Ciudad Universitaria s/n
Coyoacan 04510
Mexico City
Mexico

56 22 95 16

Date: Sat, 5 Nov 2011 18:16:47 +0100
Subject: Re: [Qgis-user] Using more SRS
From: zimmicz at gmail.com
To: gejst5 at hotmail.com

Oh my it started to work! :-) Dunno what i was doing wrong. Anyway, thanks a lot for your help!

On Sat, Nov 5, 2011 at 3:32 PM, Michal Zimmermann <zimmicz at gmail.com> wrote:

Hi,
2) I did use wgs84 coordinates :-)3)That's strange, I did exactly the same thing. Just to get it right: I open qgis, add vector layer which defaults to wgs84, then i click settings - custom crs and copy  +proj=robin +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs into parameters line.  and hit save. Then i got to project properties and select my CRS. Click ok and it should be done, right? Running qgis 1.7.1 on XP SP2. If i am doing everything right, i'm gonna report a bug or post to a forum special thread about this.

PS: Even when i display graticule in map wizard, parallels and meridians are still orthogonal, wich i suppose is wrong with Robinson projection.
On Sat, Nov 5, 2011 at 1:24 PM, Gerardo Jimenez <gejst5 at hotmail.com> wrote:pro







Hi

for question

2) Notice that when testing you have to use lat lon wgs 84 coordinates. I tested the settings and spatial reference and qgis offer the same result with the same coordinates

3) This is odd, When I load my world map I have a scale of 1:110,006,231. This is the proj 4 definition I am using. 



+proj=robin +lon_0=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

I am running qgis standallone in win7 32 bits. I really do not know what is happening concerning the scale, Why not posting a new question, with just this problem, here in the mailing list and in the forum?





Gerardo Jiménez Delgado
Instituto de Investigaciones Antropológicas
Universidad Nacional Autónoma de México
Ciudad Universitaria s/n
Coyoacan 04510
Mexico City
Mexico

56 22 95 16

Date: Sat, 5 Nov 2011 09:44:36 +0100
Subject: Re: [Qgis-user] Using more SRS
From: zimmicz at gmail.com

To: gejst5 at hotmail.com

Hi, thanks to your hints i managed to define Robinson projection. However, i found several errors/bugs/my own mistakes:
1) I took projection definiton at http://spatialreference.org/ref/esri/54030/proj4/ as i said earlier



2) I tried to test it in QGIS, e. g. I took coordinates generated at spatialreference.org, put them into QGIS and pushed Test button. The results i got were not equal to these obtained at spatialreference. (Comparison: SpatialReference output coordinates -929882.962919, -150401.172846 X QGIS Test coordinates -1052809,8856, -132264,0035).



3) Even though I pushed ok and let QGIS do the transformation using 50 milion country shapefile from NaturalEarth. Now the messy thing comes up: I got projection defined with meter units and when i overview the whole shapefile, the scale field says 1:1045, which means the whole world fits my screen and it is only 1045 times smaller than it actually is.



I suppose there is something wrong, isn't it?

On Sat, Nov 5, 2011 at 12:42 AM, Gerardo Jimenez <gejst5 at hotmail.com> wrote:








I was able to define, store and reproject with the settings you mention. May be it is a procedure mistake.
First test them. copy the settings, and be sure  to not include extra spaces before or after the settings. Then define the crs



1) In the box name give a name to the settings2) In the settings box, put your settings, make sure you do not include extra spaces before or after the settings3)  click on the save icon (floppy)




As I mentioned before I used the settings to reproject a 10 million administrative boundaries file from natural earth data wich was in lat lon wg84 (EPSG: 4326) to robinson. 




Gerardo Jiménez Delgado
Instituto de Investigaciones Antropológicas
Universidad Nacional Autónoma de México
Ciudad Universitaria s/n
Coyoacan 04510
Mexico City
Mexico

56 22 95 16

Date: Fri, 4 Nov 2011 15:27:35 +0100
Subject: Re: [Qgis-user] Using more SRS
From: zimmicz at gmail.com

To: gejst5 at hotmail.com

Hi, thnaks four your reply. I found proj4 definiton of Robinson projection at http://spatialreference.org/ref/esri/54030/proj4/. Just took the code and pasted into settings/custom crs, but qgis came up with "definiton is not valid" error. Am i doing something wrong?





On Fri, Nov 4, 2011 at 3:05 PM, Gerardo Jimenez <gejst5 at hotmail.com> wrote:









You can add a cutom crs at Settings/custom crs. The main thing is that the must be in proj 4 format. If you are familiar with proj 4 settings it is worth to test them before definin a new crs. The dialog box of settings custom crs allows you to do so. You can find some proj 4 ready settings at




http://spatialreference.org/
Just a quick search there gave about 14 different ones...
Hope it helps





Gerardo Jiménez Delgado
Instituto de Investigaciones Antropológicas
Universidad Nacional Autónoma de México
Ciudad Universitaria s/n
Coyoacan 04510
Mexico City
Mexico

56 22 95 16

Date: Fri, 4 Nov 2011 14:09:37 +0100
From: zimmicz at gmail.com
To: qgis-user at lists.osgeo.org




Subject: [Qgis-user] Using more SRS

Hi guys,I'm new to QGIS and i've been looking for some more SRS (i completely miss Eckert for example). Why aren't they included in QGIS? Is there a way to use them with QGIS?




-- 
Michal Zimmermann (zimmi) 

WWW: http://www.zimmi.cz


_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user 		 	   		  

_______________________________________________

Qgis-user mailing list

Qgis-user at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
Michal Zimmermann (zimmi) 
WWW: http://www.zimmi.cz
 		 	   		  

_______________________________________________

Qgis-user mailing list

Qgis-user at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
Michal Zimmermann (zimmi) 
WWW: http://www.zimmi.cz
 		 	   		  

_______________________________________________

Qgis-user mailing list

Qgis-user at lists.osgeo.org

http://lists.osgeo.org/mailman/listinfo/qgis-user




-- 
Michal Zimmermann (zimmi) 
WWW: http://www.zimmi.cz



-- 
Michal Zimmermann (zimmi) 
WWW: http://www.zimmi.cz
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20111105/c7e56169/attachment.html>


More information about the Qgis-user mailing list