I'm getting started implementing GeoNetwork for our organization. After my initial demos, people really like the search withing bounding box. Of course then, I'd like to modify the default map that comes up in the search area on the "home" page of a GeoNetwork installation. I'd like to do three things.
1) automatically zoom to a specified area in the search map
2) use my own WMS map service I created in MapServer (MapServer is on the same machine now but may not be in the future) Do I need to use GeoServer?
3) change the orientation of the map window size to be portrait and a bit larger
Are these possible to configure, that is, without modifying source code and recompiling? Thanks for your help!
- John
****************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey
University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.callahan@anonymised.com
http://www.dgs.udel.edu
****************************************
I have same problems with you
If you can find the way out
Please let me know
Thank You,
Pattrapong Tungkaserawong
diodata wrote:
I'm getting started implementing GeoNetwork for our organization. After
my initial demos, people really like the search withing bounding box.
Of course then, I'd like to modify the default map that comes up in the
search area on the "home" page of a GeoNetwork installation. I'd like
to do three things.
1) automatically zoom to a specified area in the search map
2) use my own WMS map service I created in MapServer (MapServer is on
the same machine now but may not be in the future) Do I need to use
GeoServer?
3) change the orientation of the map window size to be portrait and a
bit larger
Are these possible to configure, that is, without modifying source code
and recompiling? Thanks for your help!
- John
****************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey
University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.callahan@anonymised.com
http://www.dgs.udel.edu
****************************************
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
View this message in context: http://n2.nabble.com/modify-search-map-tp2014192p2161099.html
Sent from the geonetwork-users mailing list archive at Nabble.com.
Hi,
1) You need to modify:
- For the small visor: geonetwork\web\intermap\scripts\im_minimap.js
im_mm.setBBox(41, 1.3, 37.6, -1.9); //(for example)
- For the big visor: geonetwork\web\intermap\scripts\im_bigmap.js
im_bm.setBBox(41, 1.3, 37.6, -1.9); //(for example)
2) You need to modify the server list that is in the file geonetwork\web\intermap\WEB-INF\mapServers.xml
Services that appear by default at the maps are those that are between the <mapContexts><default> ...... </default></mapContexts> tags
For example:
<default name="Layers for default map -- DUMMY NAME:not used">
<server url="http://orto.cth.gva.es/wmsconnector/com.esri.wms.Esrimap/wms_parques_naturales?" type="2" >
<layer name="provincias"></layer>
</server>
</default>
I hope this helps you.
Regards,
Víctor
--------------------------------------------------------
Víctor Centella Fuster
--------------------------------------------------------
Prodevelop, Integración de tecnologías
http://www.prodevelop.es
--------------------------------------------------------
Servei d'Informàtica
Conselleria de Medi Ambient, Aigua, Urbanisme i Habitatge
Francesc Cubells 7, 46011 València
Tel.: 96 197 3942
Email: asistenciagis1_ctv@anonymised.com
http://www.cma.gva.es
----- Original Message ----- From: "ZaTTeLLighT" <zattellight@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Thursday, January 15, 2009 7:30 AM
Subject: Re: [GeoNetwork-users] modify search map
I have same problems with you
If you can find the way out
Please let me know
Thank You,
Pattrapong Tungkaserawong
diodata wrote:
I'm getting started implementing GeoNetwork for our organization. After
my initial demos, people really like the search withing bounding box.
Of course then, I'd like to modify the default map that comes up in the
search area on the "home" page of a GeoNetwork installation. I'd like
to do three things.
1) automatically zoom to a specified area in the search map
2) use my own WMS map service I created in MapServer (MapServer is on
the same machine now but may not be in the future) Do I need to use
GeoServer?
3) change the orientation of the map window size to be portrait and a
bit larger
Are these possible to configure, that is, without modifying source code
and recompiling? Thanks for your help!
- John
****************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey
University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.callahan@anonymised.com
http://www.dgs.udel.edu
****************************************
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
View this message in context: http://n2.nabble.com/modify-search-map-tp2014192p2161099.html
Sent from the geonetwork-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork
Thank you for your help Victor
These truly help me
I also has solution for problem #3 now
Try this ...
1> Go to 'geonetwork\web\geonetwork\xsl'
2> Edit 'searchform_simple_template.xsl'
3> Find 'im_mm_mapContainer'
4> Then change their dimension as you want
Hope this useful
Thanks again Victor
Regards,
Pattrapong
Víctor Centella Fuster wrote:
Hi,
1) You need to modify:
- For the small visor: geonetwork\web\intermap\scripts\im_minimap.js
im_mm.setBBox(41, 1.3, 37.6, -1.9); //(for example)
- For the big visor: geonetwork\web\intermap\scripts\im_bigmap.js
im_bm.setBBox(41, 1.3, 37.6, -1.9); //(for example)
2) You need to modify the server list that is in the file
geonetwork\web\intermap\WEB-INF\mapServers.xml
Services that appear by default at the maps are those that are between the
<mapContexts><default> ...... </default></mapContexts> tags
For example:
<default name="Layers for default map -- DUMMY NAME:not used">
<server
url="http://orto.cth.gva.es/wmsconnector/com.esri.wms.Esrimap/wms_parques_naturales?"
type="2" >
<layer name="provincias"></layer>
</server>
</default>
I hope this helps you.
Regards,
Víctor
--------------------------------------------------------
Víctor Centella Fuster
--------------------------------------------------------
Prodevelop, Integración de tecnologías
http://www.prodevelop.es
--------------------------------------------------------
Servei d'Informàtica
Conselleria de Medi Ambient, Aigua, Urbanisme i Habitatge
Francesc Cubells 7, 46011 València
Tel.: 96 197 3942
Email: asistenciagis1_ctv@anonymised.com
http://www.cma.gva.es
----- Original Message -----
From: "ZaTTeLLighT" <zattellight@anonymised.com>
To: <geonetwork-users@lists.sourceforge.net>
Sent: Thursday, January 15, 2009 7:30 AM
Subject: Re: [GeoNetwork-users] modify search map
I have same problems with you
If you can find the way out
Please let me know
Thank You,
Pattrapong Tungkaserawong
diodata wrote:
I'm getting started implementing GeoNetwork for our organization. After
my initial demos, people really like the search withing bounding box.
Of course then, I'd like to modify the default map that comes up in the
search area on the "home" page of a GeoNetwork installation. I'd like
to do three things.
1) automatically zoom to a specified area in the search map
2) use my own WMS map service I created in MapServer (MapServer is on
the same machine now but may not be in the future) Do I need to use
GeoServer?
3) change the orientation of the map window size to be portrait and a
bit larger
Are these possible to configure, that is, without modifying source code
and recompiling? Thanks for your help!
- John
****************************************
John Callahan
Geospatial Application Developer
Delaware Geological Survey
University of Delaware
227 Academy St, Newark DE 19716-7501
Tel: (302) 831-3584
Email: john.callahan@anonymised.com
http://www.dgs.udel.edu
****************************************
-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
View this message in context:
http://n2.nabble.com/modify-search-map-tp2014192p2161099.html
Sent from the geonetwork-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at
http://sourceforge.net/projects/geonetwork
--
View this message in context: http://n2.nabble.com/modify-search-map-tp2014192p2167292.html
Sent from the geonetwork-users mailing list archive at Nabble.com.