<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/">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">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>