FW: [Mapserver-users] Need Info and Help for a first test

Vincent Schut schut at sarvision.com
Mon Aug 11 04:25:32 EDT 2003


Harato,

With the coordinates you specified, units should be meters, not DD. DD means 
decimal degrees, and these will never exceed 180. This means that you should 
also use a projection that is in meters, like some mercator projection (UTM 
etc.)
Unless your layer data files are in the same projection as the projection you 
want everything to show up, you will need to define a projection block in 
your mapfile to specify the final projection, and one in each layer block 
that has a different projection that the final one, so mapserver knows what 
to reproject from and to.
For more info about this you'd best take a serious look at the documentation 
sections on the mapserver internet pages. Sometimes it takes a while before 
you find what you need, but there is lots and lots of valuable info there, 
especially about these basic things.



On Friday 08 August 2003 11:55, Gregory S. Williamson wrote:
> Harato --
> It is best if you can ask the whole list ... you've exceeded my knowledge
> (easy to do) so I've cc'ed the list with your question.
>
> Sorry I can't be of more help but I am also a beginner.
>
> Greg W.
>
>
> -----Original Message-----
> From:	harato [mailto:harato_1 at yahoo.com]
> Sent:	Fri 8/8/2003 2:33 AM
> To:	Gregory S. Williamson
> Cc:
> Subject:	RE: [Mapserver-users] Need Info and Help for a first test
>
> Thanks for help.
>
> Actually i can't use Arcview so i've used shpinfo and
> the only information i've :
>
> File Bounds: (148280, 2267320) (272830, 2370725)
>
> i think
> minX=148280 minY=2267320 maxX=272830 maxY=2370725
>
> and unit=DD
>
> but nothing is displayed.
>
> Do you now projection is really necessary ?
> how i can have ?
>
> --- "Gregory S. Williamson" <gsw at globexplorer.com>
>
> wrote:
> > The shapefile is probably for an area other than the
> > Itasca demo -- you need to specify the EXTENT to
> > cover your area.
> > This covers the San Francisco area:
> > EXTENT 542724.08 4173551.37 557476.48 4187315.33
> >
> > This is the Itasca demo:
> > EXTENT 388107.634400379 5203120.88405952
> > 500896.339019834 5310243.30613897
> >
> > I used ArcView to get the extents (I had to tell it
> > what projection to use, if I recall correctly, to
> > get it to show units other than degrees (lat/long).
> >
> > If I try to show my shape files using the Itasca
> > extent, nothing shows up.
> >
> > It is also useful to specify the "projection" either
> > by referring to the "epsg" code (and having the
> > NAD/Project directories set up) or spelling it out
> > the way the Itasca demo does.
> >
> > Hope this helps,
> >
> > Greg W.
> >
> > -----Original Message-----
> > From:	harato [mailto:harato_1 at yahoo.com]
> > Sent:	Thu 8/7/2003 6:15 AM
> > To:	Mapserver-users at lists.gis.umn.edu
> > Cc:
> > Subject:	[Mapserver-users] Need Info and Help for a
> > first test
> >
> > [English is not my natural language...]
> >
> > (Mapserver 4.0b or MapServer 3.6 under Win98/Win2K)
> >
> > Hi All,
> >
> > I just want to display a layer and I have 3 files
> > (dept.dbf/dept.shp/dept.shx). It's an ESRI file
> > (ArcView).
> >
> > I've try to display the layer using the demo of
> > Itasca
> > but nothing is displayed.
> >
> > So I want to know If it's not a problem of OGR
> > format
> > or what's the problem ?
> >
> > Can I display my layer with my shape (Arcview)
> > directly using this web interface (and change some
> > name...) to display something ?
> >
> > MapServer 4.0b or MapServer 3.6 (under Windows) can
> > support OGR ? is it an OGR problem ?
> >
> > (I'm a total beginner/newbie - My Knowledge of OGR
> > is
> > really bad !)
> >
> > Please help me !
> >
> > Harato
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! SiteBuilder - Free, easy-to-use web site
> > design software
> > http://sitebuilder.yahoo.com
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
>
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
> > _______________________________________________
> > Mapserver-users mailing list
> > Mapserver-users at lists.gis.umn.edu
>
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com
>
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

-- 
______________________________________
Vincent Schut
Sarvision B.V.
Wageningen, The Netherlands
www.sarvision.com



More information about the mapserver-users mailing list