[Mapserver-users] i found it!!!! i found it!!!!!!

Hugo Nathaniel Rodrigues hugo at pbh.gov.br
Wed Dec 17 12:05:29 EST 2003


This is a multi-part message in MIME format.

------=_NextPart_000_0015_01C3C4AF.35755A30
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

ok, now all works fine, so let me put in the table:

im pretty sure that the problem with the php_mapscript_41 dll its the =
path thing, whatever, im using now the 35 version.

the blank screen its easy to solve, i found that the problem is that i =
am using gmap map file for example, and with that i need to think that =
im using the extent limits of one country and trying to open the extent =
limits of one city (very very small for a country), so, now, i can see =
my map in the screen, but with zoom (because when i open it, its almost =
a point).

now, i only need to see this (i think my last question):

with ogrinfo i found this information:
INFO: Open of `distrito.tab'
using driver `MapInfo File' successful.

Layer name: distrito
Geometry: Polygon
Feature Count: 9
Extent: (598047.223047, 781652.733880) - (619791.428883, 812944.406142)
Layer SRS WKT:
PROJCS["unnamed",
    GEOGCS["unnamed",
        DATUM["South_American_Datum_1969",
            SPHEROID["South American",6378160,298.25],
            TOWGS84[-57,1,-41,0,0,0,0]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-45],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",500000],
    PARAMETER["false_northing",10000000],
    UNIT["Meter",1.0]]

with that, i know my type (polygon), my connection (ogr), my unit =
(meters), but, i dont know what i need to put in "EXTENT", can anyone =
help me?

and REALLY REALLY THANKS for all the help you guys are giving to me, and =
SPECIAL BIG thanks for daniel for this really good work!!!!!!

cheers
Hugo Rodrigues
Analista/Consultor
SSSS - Prodabel
------=_NextPart_000_0015_01C3C4AF.35755A30
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.2800.1276" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>ok, now all works fine, so let me put =
in the=20
table:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>im pretty sure that the problem with =
the=20
php_mapscript_41 dll its the path thing, whatever, im using now the 35=20
version.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>the blank screen its easy to solve, i =
found that=20
the problem is that i am using gmap map file for example, and with that =
i need=20
to think that im using the extent limits of one country and trying to =
open the=20
extent limits of one city (very very small for a country), so, now, i =
can see my=20
map in the screen, but with zoom (because when i open it, its almost a=20
point).</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>now, i only need to see this (i think =
my last=20
question):</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>with ogrinfo i found this =
information:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>INFO: Open of `distrito.tab'<BR>using =
driver=20
`MapInfo File' successful.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Layer name: distrito<BR>Geometry:=20
Polygon<BR>Feature Count: 9<BR>Extent: (598047.223047, 781652.733880) -=20
(619791.428883, 812944.406142)<BR>Layer SRS=20
WKT:<BR>PROJCS["unnamed",<BR>&nbsp;&nbsp;&nbsp;=20
GEOGCS["unnamed",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
DATUM["South_American_Datum_1969",<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
SPHEROID["South=20
American",6378160,298.25],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;=20
TOWGS84[-57,1,-41,0,0,0,0]],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;=20
PRIMEM["Greenwich",0],<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
UNIT["degree",0.0174532925199433]],<BR>&nbsp;&nbsp;&nbsp;=20
PROJECTION["Transverse_Mercator"],<BR>&nbsp;&nbsp;&nbsp;=20
PARAMETER["latitude_of_origin",0],<BR>&nbsp;&nbsp;&nbsp;=20
PARAMETER["central_meridian",-45],<BR>&nbsp;&nbsp;&nbsp;=20
PARAMETER["scale_factor",0.9996],<BR>&nbsp;&nbsp;&nbsp;=20
PARAMETER["false_easting",500000],<BR>&nbsp;&nbsp;&nbsp;=20
PARAMETER["false_northing",10000000],<BR>&nbsp;&nbsp;&nbsp;=20
UNIT["Meter",1.0]]<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>with that, i know my type (polygon), my =
connection=20
(ogr), my unit (meters), but, i dont know what i need to put in =
"EXTENT", can=20
anyone help me?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>and REALLY REALLY THANKS for all the =
help you guys=20
are giving to me, and SPECIAL BIG thanks for daniel for this really good =

work!!!!!!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>cheers</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Hugo =
Rodrigues<BR>Analista/Consultor<BR>SSSS -=20
Prodabel</FONT></DIV></BODY></HTML>

------=_NextPart_000_0015_01C3C4AF.35755A30--




More information about the mapserver-users mailing list