[Mapserver-users] Newbie Question -- San Francisco map isn't happening
Gregory S. Williamson
gsw at globexplorer.com
Fri Jun 20 13:58:01 PDT 2003
This is a multi-part message in MIME format.
------_=_NextPart_001_01C3376E.A296F691
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
I have installed the Mapserver software on a Windows 98 system using =
Apache as a local server (ms363gif_gdal_wms.zip was the source). I =
installed the "Itasca" demo and it works like a charm. I can select =
things, zoom, pan and all is well.
So I set out to create my first working map of San Francisco, CA, USA. =
Right now I have two layers, a shapefile of lines representing streets =
(dervied from TIGER data, turned into continuous polylines in Informix =
Spatial blade, and then unloaded to a shape file. I also have a simple =
layer of 3 points created in ArcView representing points of interest in =
the city.
I created a new directory under Apache2/htdocs and mimiced the structure =
of the "itasca" directory and copied over programs, renaming for my own =
use.
I have a map file (appended). I suspect my problem is in the "EXTENT" =
definition (or the projection?) because when I run it I don't see =
anything; I don't get any errors, I just get a blank image with a scale =
bar, etc.
I am currently without ArcView and only have ArcExplorer, which doesn't =
seem to know projections. The Lat/Long for the area I am looking at is =
approximately
X Y X =20
-122.519, 37.8306 -122.3468, 37.8306
-122.519, 37.7088 -122.519, 37.7088
I *think* the EXTENT for this might be approximately:
NAME SSF
STATUS ON
SIZE 600 600
EXTENT 542724.08 4173551.37 557476.48 4187315.33
UNITS METERS
SHAPEPATH "DATA"
IMAGECOLOR 255 255 255
...
I reached these by using ArcView to look at the shape file and the =
chosing the UTM Zone 10N projection (ellipse GRS80) and then copying the =
coordinates it showed.
(I think this is "init=3Depsg:26910")
A typical entry in the log file is:
Fri Jun 20 13:24:19 2003,-98456221,127.0.0.1,SSF,0,542724.080000 =
4173059.623333 557476.480000 4187807.076667,-1.000000 -1.000000,streets =
,normal execution
Fri Jun 20 13:24:41 2003,-779369,127.0.0.1,SSF,0,546141.719333 =
4177139.752089 553517.919333 4184513.478756,549829.819333 =
4180826.615422,streets ,normal execution
...
Any advice -- what I am doing wrong, how to properly determine these =
numbers, etc. -- for this foolish newbie would be most welcome!
TIA,
Greg Williamson
DBA
GlobeXplorer LLC
------_=_NextPart_001_01C3376E.A296F691
Content-Type: application/octet-stream;
name="ssf.map"
Content-Transfer-Encoding: base64
Content-Description: ssf.map
Content-Disposition: attachment;
filename="ssf.map"
Iw0KIyBTdGFydCBvZiBtYXAgZmlsZQ0KIw0KTkFNRSBTU0YNClNUQVRVUyBPTg0KU0laRSA2MDAg
NjAwDQpFWFRFTlQgNTQyNzI0LjA4IDQxNzM1NTEuMzcgNTU3NDc2LjQ4IDQxODczMTUuMzMNClVO
SVRTIE1FVEVSUw0KU0hBUEVQQVRIICJEQVRBIg0KSU1BR0VDT0xPUiAyNTUgMjU1IDI1NQ0KDQoj
IHlvdSBtYXkgbmVlZCB0byBjaGFuZ2UgdGhpcyB0byBtYXRjaCB5b3VyIE1hcFNlcnZlciBidWls
ZA0KI0lNQUdFVFlQRSBQTkcNCg0KIw0KIyBQcm9qZWN0aW9uIGRlZmluaXRpb24sIGNvbnN1bHQg
dGhlIFBST0ouNCBkb2N1bWVudGF0aW9uIGZvciBwYXJhbWV0ZXIgZGlzY3Vzc2lvbg0KIw0KUFJP
SkVDVElPTg0KICAicHJvaj11dG0iDQogICJlbGxwcz1HUlM4MCINCiAgInpvbmU9MTAiDQogICJu
b3J0aCINCiAgIm5vX2RlZnMiDQojDQojICBPUjogDQojDQojICAiaW5pdD1lcHNnOjI2OTEwIg0K
RU5EDQoNCiMNCiMgU3RhcnQgb2Ygd2ViIGludGVyZmFjZSBkZWZpbml0aW9uIChpbmNsdWRpbmcg
V01TIGVuYWJsaW5nIG1ldGFkYXRhKQ0KIw0KV0VCDQogIEhFQURFUiBzc2ZfaGVhZGVyLmh0bWwN
CiAgVEVNUExBVEUgc3NmLmh0bWwNCiAgRk9PVEVSIHNzZl9mb290ZXIuaHRtbA0KIyAgTUlOU0NB
TEUgMTAwMA0KIyAgTUFYU0NBTEUgMTU1MDAwMA0KICBMT0cgJ21hcHNlcnZlci5sb2cnDQ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JlIGluZm9ybWF0aW9uLiINCiAgICBXTVNfU1JTICJFUFNHOjI2OTEwIg0KICBFTkQNCkVORCAj
IGNvdW50eSBzdHJlZXRzDQoNCkVORCAjIE1hcCBGaWxlDQo=
------_=_NextPart_001_01C3376E.A296F691--
More information about the MapServer-users
mailing list