Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm working with a set of shapefiles and have some problems with the "align" of them in QGIS when I load Openlayers to reference some points. OLs has an straight horizontal baseline but the shapefiles have a slighted inclination.

I tried changing CRS-datum etc with no luck.

However, when I open the same shapefiles in ArcGIS Desktop they have a straight base line similar to that of OL in QGIS. Any ideas of the problem? If there is any problem.

share|improve this question
yep, project CRS and layer the same, google mercator. Same shp opens perfectly straight in ArcGis without any modification – Gus Velasco Jan 28 '13 at 16:57
This is the original .prj PROJCS["NAD_1983_Lambert_Conformal_Conic",GEOGCS["GCS_North_American_1983",DATUM‌​["D_North_American_1983",SPHEROID["GRS_1980",6378137.0,298.257222101]],PRIMEM["Gr‌​eenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Lambert_Conformal_Co‌​nic"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["C‌​entral_Meridian",-95.0],PARAMETER["Standard_Parallel_1",49.0],PARAMETER["Standard‌​_Parallel_2",77.0],PARAMETER["Latitude_Of_Origin",49.0],UNIT["Meter",1.0]] – Gus Velasco Jan 28 '13 at 17:08
I tried using that projection but didn't work. Checked in and out "on the fly" neither. So I tried in Arc Gis and worked. Is there a bug in QGIS/openlayers? – Gus Velasco Jan 28 '13 at 17:11
the layer disappears:( and if I change the project CRS to NAD I get an error from openlayer. Ok The system is saying to avoid long comments but I cannot move to chat – Gus Velasco Jan 28 '13 at 17:15
Try selecting "Set Project CRS from Layer" on the OCM Landscape layer. – Aaron Jan 28 '13 at 17:17
up vote 4 down vote accepted

Can you try reprojecting the shapefile (ie saving it again with a different CRS)? The one you posted is Lambert Conformal Conic, with a central meridian of 95 degrees. That pretty much matches what your image shows. I believe it is this projection (or at least this is close enough).

For example, you could use OGR: ogr2ogr -t_srs EPSG:4326 -s_srs EPSG:42304 reprojectedshapefile.shp originalshapefile.shp

Note, I didn't read it too closely, but this old stack exchange topic may be helpful too: Is there a projection issue with the NRC Canada Atlas hydrology data?

share|improve this answer
Ok. Txs I never used OGR I'll get a try:) – Gus Velasco Jan 28 '13 at 17:33
Thank you very much!!! I worked perfect!!! 100s of hours working with that!!! – Gus Velasco Jan 28 '13 at 17:44

It's possible that the line strings need more vertices to "peg" the lines to the ground at more frequent intervals. You could try "Densify geometries" from under the Vector menu to add vertices and see if this improves things. N.

share|improve this answer
No. It wasn't that. Txs for your effort. G – Gus Velasco Jan 28 '13 at 18:11

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.