Fw: [Mapserver-users] premapserver digitizing
Paul Dymecki
millardymecki at sympatico.ca
Mon Feb 17 02:32:08 PST 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0020_01C2D645.EA046800
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi Calin,
Maybe i should rephrase my question. I actually can display the =
shape i created on a map on it's own
ie. i ran the shape through the mapserver's workbench program and it =
produced a map with it's own extents.
The problem i run into is when i try to add this shp to another mapfile.
The map file which i'm trying to add this shape to has these extents:
EXTENT -2200000 -712631 3072800 3840000=20
So i guess these are not in pixels? The mapfile produced by ms =
workbench has the following extents:
extent 0.0 -131.0 161.0 0.0
Any help would be appctd.
Paul
----- Original Message -----=20
From: Calin D. NITU=20
To: Paul Dymecki=20
Sent: Monday, February 17, 2003 2:47 AM
Subject: Re: [Mapserver-users] premapserver digitizing
Hi Paul,
A Image is defined as PIXELS... on LINES and COLUMS......usualy from 0 =
to X(max) and from 0 to Y(max), but not more than 1000 .... again =
PIXELS.=20
In order to have the image in real world coordinates.... you MUST =
GEOREFERENCE the image.... details might be discussed later.=20
I assume that you didn't georeferenced the image so the shape files =
are stored in 'local coordinate system', so in order to see it in =
MAPSERVER you have to modify the EXTENT declaration in MAP file, =
something like this:=20
extent 0 1000 0 1000
GOOD LUCK,
Please check our MAPSERVER APLICATION at =
http://www.aalter.internetgids.be
Calin
----- Original Message -----=20
From: Paul Dymecki=20
To: MapServer List (E-mail)=20
Sent: Sunday, February 16, 2003 9:55 PM
Subject: [Mapserver-users] premapserver digitizing
Hi,=20
I was wondering if anyone has some good tips on digitizing =
images, or a web site i could check out. I just finished creating a shp =
file from an image and am wondering why it's not displaying in =
mapserver(not sure if it needs to be georeferenced)?
thx,
Paul=20
------=_NextPart_000_0020_01C2D645.EA046800
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2600.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi Calin,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> Maybe i should =
rephrase my=20
question. I actually can display the shape i created on a map on =
it's=20
own</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>ie. i ran the shape through the =
mapserver's=20
workbench program and it produced a map with it's own =
extents.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The problem i run into is when i try to =
add this=20
shp to another mapfile.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>The map file which i'm trying to add =
this=20
shape to has these extents:</FONT></DIV>
<DIV><FONT size=3D2>
<P>EXTENT -2200000 -712631 3072800 3840000 </P>
<P><FONT face=3DArial>So i guess these are not in pixels? The =
mapfile=20
produced by ms workbench has the following extents:</FONT></P><FONT =
size=3D2>
<P>extent 0.0 -131.0 161.0 0.0</P>
<P>Any help would be appctd.</P>
<P>Paul</P></FONT></FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dcalin at internetgids.be =
href=3D"mailto:calin at internetgids.be">Calin D.=20
NITU</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmillardymecki at sympatico.ca=20
href=3D"mailto:millardymecki at sympatico.ca">Paul Dymecki</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Monday, February 17, 2003 =
2:47=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: [Mapserver-users]=20
premapserver digitizing</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi Paul,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>A Image is defined as PIXELS... on =
LINES and=20
COLUMS......usualy from 0 to X(max) and from 0 to Y(max),=20
but not more than 1000 .... again PIXELS. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>In order to have the image in real =
world=20
coordinates.... you MUST GEOREFERENCE the image.... details might =
be=20
discussed later. </FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I assume that you didn't =
georeferenced the image=20
so the shape files are stored in 'local coordinate system', so in =
order to see=20
it in MAPSERVER you have to modify the EXTENT declaration in MAP file, =
something like this: </FONT></DIV>
<BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px">
<DIV><FONT face=3DArial size=3D2><FONT color=3D#800000 size=3D2>
<P>extent 0 1000 0 1000</P></DIV></BLOCKQUOTE>
<DIV dir=3Dltr><FONT color=3D#000000>GOOD LUCK,</FONT></DIV>
<DIV dir=3Dltr><FONT color=3D#000000>Please check our MAPSERVER =
APLICATION at=20
</FONT><A href=3D"http://www.aalter.internetgids.be"><FONT=20
color=3D#000000>http://www.aalter.internetgids.be</FONT></A></DIV>
<DIV dir=3Dltr><FONT color=3D#000000>Calin</FONT></DIV></FONT></FONT>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>----- Original Message ----- </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dmillardymecki at sympatico.ca=20
href=3D"mailto:millardymecki at sympatico.ca">Paul Dymecki</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
title=3Dmapserver-users at lists.gis.umn.edu=20
href=3D"mailto:mapserver-users at lists.gis.umn.edu">MapServer List =
(E-mail)</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, February 16, =
2003 9:55=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mapserver-users] =
premapserver=20
digitizing</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi, </FONT></DIV>
<DIV><FONT face=3DArial size=3D2> I was wondering =
if anyone=20
has some good tips on digitizing images, or a web site i could check =
out. I just finished creating a shp file from an image and am=20
wondering why it's not displaying in mapserver(not sure if it needs =
to be=20
georeferenced)?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>thx,</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>Paul</FONT> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0020_01C2D645.EA046800--
More information about the MapServer-users
mailing list