[Mapserver-users] help for PyIMS configuration
Sean Gillies
sgillies at frii.com
Sat Apr 24 14:35:30 PDT 2004
Helton Uchôa wrote:
> Hi friends,
>
> I´m trying to configure the PyIMS in a RH 8.0 with MapServer 4.0.2 and I
> give the connection with ArcExplorer, but I don´t give any layer access.
> When I try add layers nothing happen. Anyone finish a success installation
> of PyIMS? I´m working with ITASCA demo. You can see my teste in IP:
> 200.167.44.132
>
> My pyims.xml is:
> <?xml version="1.0" encoding="UTF-8"?>
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map"/>
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> My output of servlet.log is:
> <?xml version="1.0" encoding="UTF-8"?>
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map"/>
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
> [root at uchoa cgi-bin]# cat servlet.log
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING: Cmd=getVersion
> STDIN:
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING:
> ServiceName=catalog&CustomStream=True&ClientLocale=pt_BR&ClientVersion=3.1
> STDIN: <GETCLIENTSERVICES/>
> <ARCXML version="1.0"><RESPONSE><SERVICES><SERVICE ACCESS="PUBLIC" DESC=""
> GROUP="*" NAME="PyIMS Test" SERVICEGROUP="PyIMS Test" STATUS="ENABLED"
> TYPE="ImageServer" VERSION=""><IMAGE TYPE="PNG8" /><ENVIRONMENT><LOCALE
> COUNTRY="US" LANGUAGE="en" VARIANT=""
> /></ENVIRONMENT></SERVICE></SERVICES></RESPONSE></ARCXML><IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING: Cmd=getVersion
> STDIN:
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING:
> ServiceName=PyIMS+Test&CustomStream=True&ClientLocale=pt_BR&ClientVersion=3.1
> STDIN: <?xml version="1.0" encoding="UTF-8"?>
>
> <ARCXML version="1.1"><REQUEST><GET_SERVICE_INFO dpi="86" toc="true"
> toctype="png8" /></REQUEST></ARCXML>
> request_tree: <elementtree.ElementTree.ElementTree instance at 0x82f06bc>
> PROPERTIES: None
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING: Cmd=getVersion
> STDIN:
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING:
> ServiceName=catalog&CustomStream=True&ClientLocale=pt_BR&ClientVersion=3.1
> STDIN: <GETCLIENTSERVICES/>
> <ARCXML version="1.0"><RESPONSE><SERVICES><SERVICE ACCESS="PUBLIC" DESC=""
> GROUP="*" NAME="PyIMS Test" SERVICEGROUP="PyIMS Test" STATUS="ENABLED"
> TYPE="ImageServer" VERSION=""><IMAGE TYPE="PNG8" /><ENVIRONMENT><LOCALE
> COUNTRY="US" LANGUAGE="en" VARIANT=""
> /></ENVIRONMENT></SERVICE></SERVICES></RESPONSE></ARCXML><IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING: Cmd=getVersion
> STDIN:
> <IMSFACADE>
> <SERVICES>
> <SERVICE name="PyIMS Test">
> <PROPERTIES imagetype="PNG8" mapfile="/var/www/html/itasca/demo.map" />
> </SERVICE>
> </SERVICES>
> </IMSFACADE>
>
> ==========
> QUERY_STRING:
> ServiceName=PyIMS+Test&CustomStream=True&ClientLocale=pt_BR&ClientVersion=3.1
> STDIN: <?xml version="1.0" encoding="UTF-8"?>
>
> <ARCXML version="1.1"><REQUEST><GET_SERVICE_INFO dpi="96" toc="true"
> toctype="png8" /></REQUEST></ARCXML>
> request_tree: <elementtree.ElementTree.ElementTree instance at 0x82f06bc>
> PROPERTIES: None
>
>
> Thanks for any help or ideia.
>
Hello Sr. Uchoa,
Have you read the document at
http://users.frii.com/sgillies/projects/pyims.html
PyIMS requires that some WMS parameters (WMS_SRS) be defined for layers
in your mapfile. I don't think that the Itasca demo mapfile has
WMS metadata.
Is your demo.map file working with MapServer outside of PyIMS?
Respond to me directly so that we don't clutter the MapServer-users list.
cheers,
Sean
More information about the MapServer-users
mailing list