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
Contour Lines
Re: Contour Lines
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:
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
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]]
Good luck!
— daan
Re: Contour Lines
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?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
Last edited by Lemmer on Wed Aug 06, 2025 12:30 am, edited 3 times in total.
Re: Contour Lines
Hello Lemmer, and welcome to the forums!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?
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