<div dir="ltr">Hi,<br>  Sorry for this late reply, as I was busy with some other tasks. Returned to this now only. My projection and extent settings are as follows:<br>1. Extends and SRS in Layer metadata as appeared in QGIS:<br>
    Extents: In layer spatial reference system units : xMin,yMin 600731.56,1298462.88 : xMax,yMax 613935.62,1304759.25<br>    Layer Spatial Reference System: +proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs<br>    (+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +towgs84=0,0,0 corresponds to EPSG:4326)<br>
<br>2. Projection and extents in the configuration section in mapbook.xml<br>         <param name="projection">EPSG:4326</param><br>        <param name="zoomto"><![CDATA[<br>        {<br>
            "Jump To:" : {<br>                "World" : [-20614760.777156,1751325.1919492,-1927436.1053437,7915207.1517617],<br>                "Parcel Data" : [-10384069.859924,5538318.529767,-10356632.423788,5563580.927174],<br>
                "Full State of MN" : [-10742765,5398288,-9920914,6310641],<br>                "Village Panchayat" : [-20614760.777156,1751325.1919492,-1927436.1053437,7915207.1517617]<br>            }<br>
        }<br>        ]]></param><br>(I used here the same extend for the World in demo, for my layer because I don't know how to convert the extents in map file for the use of mapbook.xml. How? I know that here I did a mistake, how to correct it?)<br>
<br>3. local_settings.ini has following values only:<br>[paths]<br>root=/var/www/geo/geomoose-2.6.1/maps/<br>mapserver_url=/cgi-bin/mapserv<br>temp=/var/www/geo/geomoose-2.6.1/out/<br><br>4. settings.ini has following values:<br>
[defaults]<br>; Location of the default mapbook<br>mapbook=mapbook.xml<br>timezone=Asia/Kolkata<br><br>[map]<br>projection=EPSG:4326<br><br>[paths]<br>server_name=localhost<br><br>5. Map file landuse.map has following values:<br>
    EXTENT  600731.56 1298462.88 613935.62 1304759.25<br>    UNITS METERS<br>    <br>    WEB<br>        METADATA<br>            'ows_title' 'Land use Map'<br>            'ows_srs' 'EPSG:26915 EPSG:4326 EPSG:900913 EPSG:3857 EPSG:32643 EPSG:4326'<br>
            'ows_enable_request' '*'<br>            'ows_onlineresource' '<a href="http://www.geomoose.org">http://www.geomoose.org</a>'<br>        END<br>    END<br><br>    PROJECTION<br>        'init=epsg:4326'<br>
    END<br><br>6. GeoMOOSE returns an error messge with these settings as follows:<br>X,Y: -12278844, 283734Lat, Lon: 283734.252, -12278844.225USNG: error lat283734.25174401 must be between in (-90,90)... no playing at the poles, yet<br>
<br>I am not at all playing at poles that I know.. :) Where it went wrong? How to fix it? Can anybody help me?<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/5/10 James Klassen <span dir="ltr"><<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Look at the projection and extents in the configuration section in mapbook.xml and the projection in local_settings.ini</p>

<p dir="ltr">As a warning, layers like Google/Bing/OpenStreetMap tiles only work with the demo projection/scales/max extent.  WMS layers will be fine in any projection supported by the wms server.</p>
<div class="gmail_quote"><div><div class="h5">On May 10, 2013 1:04 AM, "Jaisen Nedumpala" <<a href="mailto:jaisuvyas@gmail.com" target="_blank">jaisuvyas@gmail.com</a>> wrote:<br type="attribution"></div>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">
<div dir="ltr">Hi,<br><br>I am Jaisen, new to GeoMOOSE.<br>I was trying to make up my data with GeoMOOSE. As I am new, I did only minor changes in the demo application, as described in the documentation "How To Add Layers". But I couldn't visualise my data in GeoMOOSE. I don't understand where lies the problem. Please help me. What I did is described below:<br>


<br>------------------------------------------------<br>Created /var/www/geo/geomoose-2.6.1/htdocs/projections/EPSG32643.js with content following:<br><br>Proj4js.defs["EPSG:32643"] = "+proj=utm +zone=43 +ellps=WGS84 +datum=WGS84 +units=m +no_defs +towgs84=0,0,0";<br>


<br>Created /var/www/geo/geomoose-2.6.1/htdocs/projections/EPSG4326.js with content following:<br><br>Proj4js.defs["EPSG:4326"] = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs +towgs84=0,0,0";<br>

<br>
In /var/www/geo/geomoose-2.6.1/htdocs/geomoose.html<br>Added following as line 59 and 60:<br><br><script type="text/javascript" src="projections/EPSG32643.js"></script><br><script type="text/javascript" src="projections/EPSG4326.js"></script><br>


<br>In <br>/var/www/geo/geomoose-2.6.1/maps/demo/statedata/basemap.map<br>/var/www/geo/geomoose-2.6.1/maps/demo/parcels/parcels.map<br>/var/www/geo/geomoose-2.6.1/maps/demo/wms/lmic.map<br>/var/www/geo/geomoose-2.6.1/maps/demo/wms/usgs.map<br>


Added <br>EPSG:32643 EPSG:4326<br>for 'ows_srs' parameter in METADATA section.<br><br>Created directory /var/www/geo/geomoose-2.6.1/maps/edavaka/landuse/<br>placed landuse.map in it.<br><br>Added following lines as line 100-104 to /var/www/geo/geomoose-2.6.1/conf/mapbook.xml<br>


<br><map-source name="Landuse" type="mapserver"><br>        <file>./edavaka/landuse/landuse.map</file><br>        <layer name="landuse" status="on"/><br>        <param name="FORMAT" value="image/png;bits=8"/><br>


    </map-source><br><br>Added following lines as 387-391 to /var/www/geo/geomoose-2.6.1/conf/mapbook.xml<br><br>            <group title="Panchayat Layers" expand="false"><br>                <layer title="Land use" src="Landuse/landuse" metadata="true" legend="true" tip="Land use and land cover" show-legend="true"><br>


                <metadata><a href="http://www.geomoose.org/docs/" target="_blank">http://www.geomoose.org/docs/</a></metadata><br>                </layer><br>            </group><br><br>Content of landuse.map is follows:<br>


---------------------<br>MAP<br>    NAME 'landuse'<br>    SIZE 800 650<br>    STATUS ON<br>    EXTENT  600200.710627 1297963.898875 614053.022957 1305268.779057<br><br>    UNITS METERS<br><br>    INCLUDE "../../geomoose_globals.map"<br>


<br>    WEB<br>        METADATA<br>            'ows_title' 'Land use Map'<br>            'ows_srs' 'EPSG:26915 EPSG:4326 EPSG:900913 EPSG:3857 EPSG:32643 EPSG:4326'<br>            'ows_enable_request' '*'<br>


            'ows_onlineresource' '<a href="http://www.geomoose.org" target="_blank">http://www.geomoose.org</a>'<br>        END<br>    END<br><br>    PROJECTION<br>        'init=epsg:4326'<br>    END<br>

<br>    LEGEND<br>
          STATUS ON<br>          LABEL<br>        TYPE TRUETYPE<br>        FONT vera_sans<br>        SIZE 8<br>        COLOR 0 0 0<br>          END        <br>    END    <br>  <br>      LAYER<br>        NAME landuse<br>            CONNECTIONTYPE postgis<br>


            CONNECTION "dbname='mydb' host=localhost port=5432 user='jaisen' password='mypassword' sslmode=allow"<br>            DATA 'the_geom FROM "landuse" USING UNIQUE gid USING srid=4326'<br>


            STATUS ON<br>        TYPE POLYGON<br>        LABELITEM 'PIN'<br>        LABELCACHE ON<br>        LABELMAXSCALE 20000<br>        FILTER ([PARC_CODE] == 1)<br><br>        CLASS<br>            NAME 'Landuse'<br>


            STYLE<br>                WIDTH 3<br>                COLOR -1 -1 -1<br>                OUTLINECOLOR 93 181 53<br>                MAXSCALEDENOM 15000<br>            END<br>            STYLE<br>                SIZE 1<br>


                COLOR -1 -1 -1<br>                OUTLINECOLOR 33 106 43<br>            END<br><br>            LABEL<br>                TYPE TRUETYPE<br>                FONT vera_sans<br>                SIZE 8<br>                ANTIALIAS TRUE<br>


                COLOR 0 0 0<br>                OUTLINECOLOR 254 254 200<br>                BUFFER 4<br>                MINFEATURESIZE auto<br>                PARTIALS FALSE<br>                POSITION cc<br>            END<br>


        END<br><br><br><br>        METADATA<br>            # drill-down identify service record.<br>                  'identify_record'    'templates/identify.html'<br><br>            # query.php / "Search Parcels" functionality.<br>


            'itemquery'    'templates/search_result.html'<br>            'itemquery-filter'    '/.*[qstring].*/i' <br>            'qstring_validation_pattern' '.'<br>            <br>


            # Feature reports are stored in the conf/feature_report directory.<br>            'feature_report' 'parcel.xml'<br><br>                  'select_record'    'templates/select_result.html'<br>


            'select_header' 'templates/select_header.html'<br>            'popups' 'parcels_popup.html'<br><br>        END<br>        TOLERANCE 0<br><br>        END<br>  <br>END ## end Map<br>


---------------------<br><br><br> <br><br clear="all"><br>-- <br>~-~-~-~-~-~-~-~-~-~-~-~-~-~-~<br>- നെടുമ്പാല ജയ്സെന്‍ -<br>~-~-~-~-~-~-~-~-~-~-~-~-~-~-~<br>    (`'·.¸(`'·.¸^¸.·'´)¸.·'´)<br>«´¨`·* .  Jaisen . *..´¨`»<br>


    (¸.·'´(`'·.¸ ¸.·'´)`'·.¸)<br>    ¸.·´^.`'·.¸ ¸.·'´<br>     ( `·.¸`·.¸<br>      `·.¸ )`·.¸<br>     ¸.·(´ `·.¸<br>    ¸.·(.·´)`·.¸<br>      ( `v´ )<br>        `v´
</div>
<br></div></div><div class="im">_______________________________________________<br>
Geomoose-users mailing list<br>
<a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br>
<br></div></blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br>~-~-~-~-~-~-~-~-~-~-~-~-~-~-~<br>- നെടുമ്പാല ജയ്സെന്‍ -<br>~-~-~-~-~-~-~-~-~-~-~-~-~-~-~<br>    (`'·.¸(`'·.¸^¸.·'´)¸.·'´)<br>«´¨`·* .  Jaisen . *..´¨`»<br>
    (¸.·'´(`'·.¸ ¸.·'´)`'·.¸)<br>    ¸.·´^.`'·.¸ ¸.·'´<br>     ( `·.¸`·.¸<br>      `·.¸ )`·.¸<br>     ¸.·(´ `·.¸<br>    ¸.·(.·´)`·.¸<br>      ( `v´ )<br>        `v´
</div>