[Geomoose-users] My Data Projected in wrong area

INDRA BAYU cucuberlian at gmail.com
Thu Mar 28 08:20:10 PDT 2013


i have fixed EPSG:32748 in settings.ini.
In geomoose when i use "ArcGIS 9.3 Rest Example" for Background, my
data projected in right area. but if i use google or yahoo or osm for
Background, my data projected in wrong area. how i fix it?

Thanks


2013/3/28, James Klassen <klassen.js at gmail.com>:
> Check with another WMS client (such as QGIS) if MapServer is projecting
> your data correctly.  What does your MapServer LAYER look like?
>
> For most WMS clients to work OWS_ONLINERESOURCE should point to your
> mapfile not the geomoose website.
>
> It looks like you may have a space in EPSG:32748 in settings.INI, but that
> wouldn't cause your problem.
>
> You don't need to edit config.js.  The values in the map book will override
> those in config.js.  (Also I think config.js gets compiled in during the
> build so changes there would only take effect if you rebuilt GeoMoose or
> were using GeoMoose_Dev.html.)
> On Mar 28, 2013 5:36 AM, "INDRA BAYU" <cucuberlian at gmail.com> wrote:
>
>> I am new to GeoMoose. I use GeoMoose 2.6.1. I have added my data and
>> have it projecting.  The data is all WGS_1984_UTM_Zone_48S. I needed
>> EPSG: 32748 fo this data.  I added the new EPSG as per the GeoMoose
>> instructions on http://www.geomoose.org/docs/projections.html.
>>
>> this is my configuration:
>>
>> ====EPSG32748.js====
>> Proj4js.defs["EPSG:32748"] = "+proj=utm +zone=48 +south +ellps=WGS84
>> +datum=WGS84 +units=m +no_defs";
>>
>> =====geomoose.html======
>> <script type="text/javascript" src="projections/EPSG32748.js"></script>
>> <script type="text/javascript" src="projections/EPSG26915.js"></script>
>> <script type="text/javascript" src="projections/EPSG3857.js"></script>
>>
>> =====myshapefile.shp=========
>> EXTENT 681064.622758 9296398.489077 696909.822267 9311182.143822
>> ..............
>> WEB
>>                 METADATA
>>                 'ows_title' 'Parcel Maps'
>>                 'ows_srs' 'EPSG:32748 EPSG:26915 EPSG:4326 EPSG:900913
>> EPSG:3857'
>>                 'ows_enable_request' '*'
>>                 'ows_onlineresource' 'http://www.geomoose.org'
>>                 END
>> END
>>
>>         PROJECTION
>>                 'init=epsg:32748'
>>         END
>>
>>
>> =====mapbook.xml=======
>> <param name="projection">EPSG:32748</param>
>> ......
>> <param
>> name="max_extent">681064.622758,9296398.489077,696909.822267,9311182.143822</param>
>>                 <param
>>
>> name="initial_extent">681064.622758,9296398.489077,696909.822267,9311182.143822</param>
>>
>> =====settings.ini====
>> [defaults]
>> ; Location of the default mapbook
>> mapbook=mapbook.xml
>>
>> [map]
>> projection=EPSG: 32748
>>
>>
>> ===config.js====
>> var CONFIGURATION = {
>>         'links_bar_html' : "",
>>         'waiting_html' : 'Loading...',
>>         'mapserver_url' : "",
>>         'control_panel_side' : 'left',
>>         'mapfile_root' : "",
>>         'mapbook' : "php/getmapbook.php",
>>         'fractional_zoom' : false,
>>         'scales' : [1,2,4,8,16,32,64,128,256,500,1000,5000],
>>         'max_extent' :
>> [681064.622758,9296398.489077,696909.822267,9311182.143822],
>>         'initial_extent' :
>> [681064.622758,9296398.489077,696909.822267,9311182.143822],
>>         'projection' : "EPSG:32748",
>>         'ground_units' : 'm',
>>
>>
>> My data is being projected on nowegian sea (my data is in indonesia) .
>>  Does anyone know what I am doing wrong?
>> Thanks
>> _______________________________________________
>> Geomoose-users mailing list
>> Geomoose-users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>>
>


More information about the Geomoose-users mailing list