[Geomoose-users] Request

Brent Fraser bfraser at geoanalytic.com
Fri Oct 2 10:53:23 PDT 2015


Antony,

     Please ask for help on the Geomoose-users email list 
(http://www.geomoose.org/info/mailing_lists.html) so everyone can benefit.

You need to look at the response in the Net tab of Firebug.  You may 
need to do some web searching to find out how to examine the response to 
a URL.

Best Regards,
Brent Fraser

On 10/2/2015 11:34 AM, Antony Mwangi wrote:
> Hi Brent , I receive this error when I click identify.
>
> The service you called did not return valid XML. If you are the system 
> administrator, you should look into this, if you are not the system 
> administrator you should tell them about this.
> Please advice
> My fire bug error is
> thrown in C:\\ms4w\\apps\\geomoose2\\htdocs\\php\\identify.php on line 
> 131, referer: http://localhost:8080/geomoose2/geomoose.html
> .
>
> MAPBOOK LAYER
> ================================================================
> <service name="identify" title="Identify" display="true" 
> display-submit="false" clear-highlight="true">
>         <url>php/identify.php</url>
>         <step type="spatial" name="shape" line="false" polygon="false" 
> jump-start="true" default="point" box="true" pan="false">
>             <header>
>                 Click on the map to see more detailed information.
>             </header>
>             <!--
>             Uncomment this line to test "hidden" layers working with 
> identify.  This will
>             leave the layers listed here always identified despite 
> their visibility.
>             <input type="hidden" name="hidden_layers" 
> value="buildings/buildings"/>
>
> =================================================================
> .Map
> MAP
> INCLUDE "../../geomoose_globals.map"
>     SIZE 800 650
>     DEBUG 5
>     CONFIG "MS_ERRORFILE" "/ms4w/tmp/ms_error.txt"
>     CONFIG "PROJ_LIB" "\ms4w\proj\nad"
>     CONFIG "CPL_DEBUG" "ON"
>     CONFIG "PROJ_DEBUG" "ON"
>   NAME "MAPSERVER QUICKSTART"
>   EXTENT  246002.72 9856740.77 260047.95 9868752.12
>   UNITS METERS
>
>
>
>   IMAGETYPE PNG24
>
>   PROJECTION
>     "init=epsg:21037"
>   END
>
>   WEB
>     METADATA
>       ows_enable_request "*"
>     END
>   END
>
>   LAYER
>     NAME 'buildings'
> CONNECTIONTYPE postgis
> CONNECTION "dbname=Geodatabase2 host=localhost port=5432 user=postgres 
> password=s90s90s90"
> DATA 'geom FROM buildings'
> STATUS on
> TYPE POLYGON
> MAXSCALE 4000000
> LABELITEM 'number'
> LABELMAXSCALE 3000000
>     CLASS
>       STYLE
>         COLOR 246 241 223
>         OUTLINECOLOR 255 0 0
>       END
>     END
> TOLERANCE 0  # use >0 for TYPE LINE, POINT
>         TOLERANCEUNITS PIXELS
>         METADATA
> # drill-down identify service record.
>                   'identify_record' 'templates/identify.html'
>
>
>         END # of METADATA
>
>   END
>
> END
> ============================================================
> identify
> <!-- MapServer Template -->
> <tr bgcolor="#DEE5EB"><td colspan="2"><b><u>Buildings</u></b></tr>
> <tr>
> <td align="right"><b>NUMBER:</b></td>
> <td>[NUMBER] <a 
> href="javascript:GeoMOOSE.startService('feature_report', {'NUMBER' : 
> '[NUMBER]', 'src' : buildings/buidings'})">Report</a></td>
> </tr>
> <tr>
> <td align="right"><b>Num1:</b></td>
> <td>[NUMBER]</td>
> </tr>
> <tr>
> <td align="right"><b>Num2></td>
> <td>[NUMBER]</td>
> </tr>
> <tr>
> <td align="right"><b>Num3></td>
> <td>[NUMBER]</td>
> </tr>
> <tr>
> <td> </td>
> <td> </td>
> </tr>
>
>
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20151002/9274af76/attachment-0001.html>


More information about the Geomoose-users mailing list