[mapserver-users] Shapefiles - different formats?

Janet Ciavarelli Jciavarelli at city.kamloops.bc.ca
Fri Oct 5 12:04:51 EDT 2001


Hi Ed,
   I see what the difference is now. I went into ArcCatalog and created an empty shapefile, and I looked in explorer. It creates 4 files! Not just the 3 files that it used to use (.shp, .shx, .dbf).

I've attached all the four files. So that explains why ArcView 3.2 can open the file though. Cause it finds the 3 files and just ignores the 4th. But ArcMap 8 wants all 4 files. The 4th file is a .prj file. I will have to find out what's in it and get my script to create that as well. Also, maybe that utility you advised me to grab will create it. I will check when I get time which my be a long time from now. 

Thanx for your help. Janet.

>>> "Ed McNierney" <ed at topozone.com> 10/04/01 05:49pm >>>
Janet -

Can you create an empty point shapefile in 8.1 and send that to me, too?
I don't have 8.1, but I can take a look at the shapefile to see if
there's anything different.

	- Ed

-----Original Message-----
From: Janet Ciavarelli [mailto:Jciavarelli at city.kamloops.bc.ca] 
Sent: Thursday, October 04, 2001 4:11 PM
To: Ed McNierney
Subject: RE: [mapserver-users] Shapefiles - different formats?


Yes, same symptom even with records added.

>>> "Ed McNierney" <ed at topozone.com> 10/04/01 01:10pm >>>
Janet -

Do you get the same symptom when you add records to the shapefile?

	- Ed

-----Original Message-----
From: Janet Ciavarelli [mailto:Jciavarelli at city.kamloops.bc.ca] 
Sent: Thursday, October 04, 2001 4:03 PM
To: Ed McNierney
Subject: RE: [mapserver-users] Shapefiles - different formats?


Hi Ed,
   Here's a copy of the shapefile. BTW, it is an empty one but it should
be successfully able to open empty shapefiles as well. We've tried it
with both empty and un-empty ones and get the same results: it opens
find in AV 3.2 but errors out in AV 8.1

Janet.

Janet Ciavarelli
GIS Programmer/Analyst
City of Kamloops, BC
(250) 828-3393
jciavarelli at city.kamloops.bc.ca 

>>> "Ed McNierney" <ed at topozone.com> 10/04/01 12:38pm >>>
Janet -

I certainly expect 8.1 reads 3.2 shapefiles (at least, in general).
Perhaps it's more likely that you're creating a slightly out-of-spec
shapefile that's being tolerated by 3.2, but 8.1 is being fussier about.

There's a tool called shpfix in the GDAL distribution that might
possibly help clean up the file.  If you'd like to email me the
shapefile I'll take a look at it.

	- Ed

Ed McNierney
Chief Mapmaker
TopoZone.com
ed at topozone.com 
(978) 251-4242


-----Original Message-----
From: Janet Ciavarelli [mailto:Jciavarelli at city.kamloops.bc.ca] 
Sent: Thursday, October 04, 2001 2:17 PM
To: mapserver-users at lists.gis.umn.edu; teb at mallit.fr.umn.edu 
Subject: [mapserver-users] Shapefiles - different formats?


Sort of off topic, but thought I'd ask anyways in case anyone knows. I
have written a perl/mapscript to create a shapefile. I can view the
shapefile in ESRI  ArcView 3.2 fine. But when I try to view it in ESRI
ArcView 8.1, I get an error. Is anyone out there aware of any
differences between shapefile formats between different products?

Janet.

 

Janet Ciavarelli
GIS Programmer/Analyst
City of Kamloops, BC
(250) 828-3393
jciavarelli at city.kamloops.bc.ca 




-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapev8.dbf
Type: application/octet-stream
Size: 66 bytes
Desc: dBase 3 database
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20011005/f5fa3647/shapev8.obj
-------------- next part --------------
PROJCS["NAD_1983_UTM_Zone_10N",GEOGCS["GCS_North_American_1983",DATUM["D_North_American_1983",SPHEROID["GRS_1980",6378137,298.257222101]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["False_Easting",500000],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",-123],PARAMETER["Scale_Factor",0.9996],PARAMETER["Latitude_Of_Origin",0],UNIT["Meter",1]]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapev8.shp
Type: application/octet-stream
Size: 100 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20011005/f5fa3647/shapev8-0001.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapev8.shx
Type: application/octet-stream
Size: 100 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/mapserver-users/attachments/20011005/f5fa3647/shapev8-0002.obj


More information about the mapserver-users mailing list