Contour Lines

Discussion of troubles you experience and possible bugs.
Post Reply
ltverweij
Posts: 9
Joined: Thu Apr 09, 2015 1:10 am

Contour Lines

Post by ltverweij »

Hello

I am trying to map Contour lines in different world projection. I have downloaded servas .shp files, as well as .dbf and .sbx.
Geocart doesn't want to read them saying: 'could not be added, the file does not exist'.
What am I doing wrong? Thanks in advance for helping
daan
Site Admin
Posts: 977
Joined: Sat Mar 28, 2009 11:17 pm

Re: Contour Lines

Post by daan »

Hello Lucas.

In addition to the .dbf and .sbx files, Geocart also needs the .prj file; otherwise Geocart cannot interpret the coordinates. Furthermore, the .prj must confirm that the coordinates are geographic, not already projected. This is an example of the contents of a typical .prj file that Geocart can work with:

Code: Select all

GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
If the Shapefiles you are trying to use do not come with a .prj file, then you can try making one using the content above to see if that works.

Good luck!
— daan
Lemmer
Posts: 1
Joined: Thu Dec 21, 2017 1:39 am

Re: Contour Lines

Post by Lemmer »

ltverweij wrote: Sat Aug 19, 2017 2:31 am Hello

I am trying to map Contour lines in different world projection. I have downloaded servas .shp files, as well as .dbf and .sbx.
Geocart doesn't want to read them saying: 'could not be added, the file does not exist'.
What am I doing wrong? Thanks in advance for helping
Hi Daan, I noticed that I'm missing some .prj files. I tried using the code you suggested to make them, but I don't think it worked. What else can I try?
Last edited by Lemmer on Wed Aug 06, 2025 12:30 am, edited 3 times in total.
daan
Site Admin
Posts: 977
Joined: Sat Mar 28, 2009 11:17 pm

Re: Contour Lines

Post by daan »

Lemmer wrote:Hi Daan, I noticed that I'm missing some .prj files. I tried using the code you suggested to make them, but I don't think it worked. What else can I try?
Hello Lemmer, and welcome to the forums!

I’m afraid I have no further advice. If a Shapefile doesn’t come with a .prj file, then the coordinates in the Shapefile have no context. Geocart has no way to know if they’re latitude-longitude (geographic) or already projected (planar). If planar, Geocart has no way of knowing if the units are in degrees, feet, meters, light years… :?

If you acquire a Shapefile that has no side-car .prj file, normally that seems to mean the coordinate data are geographic. If using the .prj sample I gave did not work, could you describe what happened when you tried?

Thanks,
— daan
Post Reply