[Mapserver-users] Oracle Spatial

Zamil Murji Zamil.Murji at divestco.com
Wed Jul 2 14:03:19 EDT 2003


Hello list,

I want to use MapServer to draw an Oracle Spatial layer, however, I have never used Oracle Spatial. I have some questions I am sure you will be able to answer.

1) What utilities are available to import a shapefile into an Oracle Spatial database? Where can I download them from? 
2) Need to know some good sites on how to setup Oracle 8i with the Spatial component, and I need a quick tutorial on how to create a table, alter a table, insert and select from that table. Any good sites?
3) I read on the newsgroup that there are two ways to go about this. One is to use the built in oracle spatial support and the other is to use ogr. I am running Apache on a windows 2000 box, what way is the best to go, easiest to setup?

Thanks for your help
Zamil

-----Original Message-----
From: Eduardo Patto Kanegae [mailto:eduardo at linkgeo.com.br]
Sent: Wednesday, June 25, 2003 8:44 AM
To: mapserver-users at lists.gis.umn.edu
Cc: niklas "wörmann
Subject: Re: [Mapserver-users] running v4 beta as a command line tool


I've tested on MapServer 3.6.4 for Windows, using:

$ mapserv "QUERY_STRING=map=c:\test\mymap.map&mode=map&foo=...." > myresult.gif

but if you try to open "myresult.gif" it crash... 

so I opened this file with a text editor and deleted the first two lines(the headers), then it works!

regards

Eduardo Patto Kanegae
eduardo at linkgeo.com.br
http://www.linkgeo.com.br

***************************************
***Fim da Mensagem / End of Message ***
***************************************


On Wed, 25 Jun 2003 14:43:41 +0200, Vincent Schut <schut at sarvision.com> enscreveu:

> De: Vincent Schut <schut at sarvision.com>
> Data: Wed, 25 Jun 2003 14:43:41 +0200
> Para: niklas wörmann <nwoe at privat.utfors.se>,   <mapserver-users at lists.gis.umn.edu>
> Assunto: Re: [Mapserver-users] running v4 beta as a command line tool
> 
> On Wednesday 25 June 2003 10:06, niklas wörmann wrote:
> > Hi!
> > i am trying to track down the reason mapserver isn´t working on my windows
> > 2000 server.
> >
> > i remember seeing somewhere that it was indeed possible to run mapserver as
> > a command line tool, specifying a map file and an output file
> >
> > anyone know the syntax for this?
> 
> On linux:
> ./mapserv "QUERY_STRING=map=/path/to/your/mapfile.map&mode=map"
> This will output headers + image data to stdout (on linux). Probably on 
> windows your executable is not named mapserv but something like mapserv.exe? 
> And use \ instead of / I think.
> 
> you cannot just save the output as image file because the headers are in the 
> output too.
> But you can see if it outputs something (lots of ascii: image), or gives an 
> error.
> To see the image: type in your browser:
> http://localhost/cgi-bin/mapserv?map=/path/to/your/mapfile.map&mode=map
> change / in path to \ if on windows?
> 
> Regards,
> -- 
> ______________________________________
> Vincent Schut
> Sarvision B.V.
> Wageningen, The Netherlands
> www.sarvision.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




More information about the mapserver-users mailing list