From MarkVolz at co.lyon.mn.us Mon Jun 1 12:38:19 2009 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] geomoose 2 projecting Message-ID: <3D56274B4A7874468F58FADDBFD0980107615020@llmhs02.r8nssis.local> Hello, I am starting to play around with GM2. I am having trouble with setting up a custom (county) projection. I have added a new custom EPSG127083.js in htdocs\proj4js\lib\defs and then I changed the reference to the projection in the demo files in the following locations: htdocs\Geomoose.html htdocs\compiled.js (2 references) conf\settings.ini mapbook_demo.xml After I added a link to the LMIC 2008 air photos using the same map file from GM1.6.1. I also changed all of the map extents so my service would return a valid extent. My Air photo does not appear on the new map. I looked at firebug and found that request for the air photo was going directly to the WMS service using the custom EPSG projection instead of UTM 15 / EPSG 26915. My mapbook that I am using defines the air photo source as a type mapserver, and not as a WMS (that the demo uses). So I am curious as to why the custom EPSG code is getting passed into the service as opposed to EPSG 26915 (which is what is defined in the mapbook) I am guessing my problem is that I might have something wrong with the map-source, or catalog portion of my mapbook (attached below) *****Mabook_demo.xml***************************************** ./LyonMaps/Raster/LMIC/LMICFSA2008.map ... ... ******************** Mark Volz GIS Specialist Lyon County, MN (507) 532-8218 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090601/2aa8a919/attachment.html From bfraser at geoanalytic.com Mon Jun 1 12:46:59 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] Select Info to a new window - A solution and a tip In-Reply-To: <4A200641.2030307@geoanalytic.com> References: <4A1D6BBC.7000507@geoanalytic.com> <313700.17915.qm@web51407.mail.re2.yahoo.com> <4A1EBD78.1000809@geoanalytic.com> <4A1EE263.8080408@geoanalytic.com> <4A200641.2030307@geoanalytic.com> Message-ID: <4A240603.10507@geoanalytic.com> To all, A solution: ----------- Following Dan's suggestion I edited the select.php to include: } elseif($output == 'bare-html') { header('Content-type: text/html'); print "\n"; print ""; print ""; print $template; print ""; print ""; and added display="window" to my "select Feature" service attributes in my application's xml config file: And a tip: ---------- To get the results sent to the same window on each select operation (instead of separate windows being created each time), I added target="MySelection" to the service attributes: I had a look at the HTML generated by the SELECT service (not the IDENTIFY): > > > > > ../../TopoCan/select.map : > : > > It doesn't render very well when sent to a new window (using the display="window" tag in the Select service.) > > Any thoughts on how to fix this? > > Thanks! > Brent > > > Brent Fraser wrote: >> Brian, >> >> I just found the display tag while sifting thru ServiceManager.js It seems to work ok for Identify, but for Select it opens a new window and prints the value of the map tag, e.g: >> >> ./select.map >> >> strange... >> >> Many Thanks! >> Brent >> >> Brian Fischer wrote: >>> Brent, >>> This use to work, but haven't tried it in a while. You could set the display attribute of the service tag to display="window" and it would pop the results up in a new window. Give that a try. Here is the documentation we wrote on it: >>> http://www.geomoose.org/moose/index.php?option=com_content&task=view&id=14&Itemid=29 Look at the display attribute under section. >>> >>> Also I had Dan write a little custom feature for me to create a link to open the results tab up in a new window so users could print it. I think he mainly did it with some JavaScript and CSS. Here is the app that is doing that. http://klamathcounty > . >> houstoneng.com/klamathmap/klamathmap.html Select some parcels with the mailing labels tool or Identify tool then click on the "Print Info. Tab" in the menubar. >>> Hope this helps, >>> Brian >>> >>> Brian Fischer, CFM GIS Project Manager >>> Houston Engineering, Inc. >>> Phone: W: 763.493.4522 / M: 763.229.2734 >>> >>> -----Original Message----- >>> From: Brent Fraser [mailto:bfraser@geoanalytic.com] >>> Sent: Thursday, May 28, 2009 11:36 AM >>> To: Dan Little >>> Cc: GeoMOOSE Users List >>> Subject: Re: [Geomoose-users] Info from Select to a new window? >>> >>> Dan, >>> >>> I'm using V1.6.1. >>> >>> It looks like the target of the html/text generated by select.php is set around line 488 in ServiceManager.js (of course I could be totally out-to-lunch as my JavaScript is weak): >>> >>> } else if(returnType.match(/text/i) || contentType.match(/plain/i)){ // Plain Text Return >>> var results = document.getElementById('content_results_form'); >>> var text = http.responseText; >>> if(!(text.match(/\>> text = text.replace(/\n/g,'
\n'); >>> text = ''+text+''; >>> } >>> results.innerHTML = text; >>> EventManager.triggerEvent('changetab',TABS_RESULTS_NAME); >>> } else if(returnType.match(/csv/i) || contentType.match(/csv/i)) { // CSV return type >>> >>> >>> perhaps if do something like: >>> var win = window.open("", "Results", "width=100, height=100, scrollbars=yes" ); >>> var results2 = win.document.body; >>> results2.innerHTML = text; >>> >>> Any thoughts on that? >>> >>> >>> Thanks! >>> Brent >>> >>> Dan Little wrote: >>>> 1.6 or 2.0? >>>> >>>> >>>> >>>> ----- Original Message ---- >>>>> From: Brent Fraser >>>>> To: GeoMOOSE Users List >>>>> Sent: Wednesday, May 27, 2009 11:35:08 AM >>>>> Subject: [Geomoose-users] Info from Select to a new window? >>>>> >>>>> I'd like to send the attribute information of my selected features to a new >>>>> browser window instead of the Information tab. What's a good way to do this? >>>>> >>>>> Thanks! >>>>> Brent Fraser >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >>>>> is a gathering of tech-side developers & brand creativity professionals. Meet >>>>> the minds behind Google Creative Lab, Visual Complexity, Processing, & >>>>> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian >>>>> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >>>>> _______________________________________________ >>>>> Geomoose-users mailing list >>>>> Geomoose-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/geomoose-users >>>> >>>> >>> ------------------------------------------------------------------------------ >>> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >>> is a gathering of tech-side developers & brand creativity professionals. Meet >>> the minds behind Google Creative Lab, Visual Complexity, Processing, & >>> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian >>> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >>> _______________________________________________ >>> Geomoose-users mailing list >>> Geomoose-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/geomoose-users >>> >> ------------------------------------------------------------------------------ >> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT >> is a gathering of tech-side developers & brand creativity professionals. Meet >> the minds behind Google Creative Lab, Visual Complexity, Processing, & >> iPhoneDevCamp as they present alongside digital heavyweights like Barbarian >> Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com >> _______________________________________________ >> Geomoose-users mailing list >> Geomoose-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geomoose-users >> > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers & brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing, & > iPhoneDevCamp as they present alongside digital heavyweights like Barbarian > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users > From Jessica.Fendos at state.mn.us Tue Jun 2 13:07:50 2009 From: Jessica.Fendos at state.mn.us (Jessica Fendos) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] Fade Effect Step Value Message-ID: <4A251617.6F42.000E.0@ngwmail.des.state.mn.us> Hi: I know that we can control MAP_FADE_EFFECTS to be true or false and change the MAP_FADE_EFFECTS_DURATION in the configuration.js file. However, how can I change the step value for the fade effect so that fading occurs more drastically? Can someone advise? Thanks! Jessica -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090602/5db8363d/attachment.html From bfischer at houstoneng.com Tue Jun 2 17:05:19 2009 From: bfischer at houstoneng.com (Brian Fischer) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] Fade Effect Step Value In-Reply-To: <4A251617.6F42.000E.0@ngwmail.des.state.mn.us> References: <4A251617.6F42.000E.0@ngwmail.des.state.mn.us> Message-ID: Jessica, There is no configuration variable for that. You would have to dig into the javascript code and make the change in there. Not sure where it is buried in the javascript code. Brian Fischer, CFM GIS Project Manager Houston Engineering, Inc. Phone: W: 763.493.4522 / M: 763.229.2734 From: Jessica Fendos [mailto:Jessica.Fendos@state.mn.us] Sent: Tuesday, June 02, 2009 12:08 PM To: geomoose-users@lists.sourceforge.net Subject: [Geomoose-users] Fade Effect Step Value Hi: I know that we can control MAP_FADE_EFFECTS to be true or false and change the MAP_FADE_EFFECTS_DURATION in the configuration.js file. However, how can I change the step value for the fade effect so that fading occurs more drastically? Can someone advise? Thanks! Jessica -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090602/8312d1c9/attachment.html From danlittle at yahoo.com Tue Jun 2 17:25:58 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] Fade Effect Step Value In-Reply-To: References: <4A251617.6F42.000E.0@ngwmail.des.state.mn.us> Message-ID: <786148.98357.qm@web51401.mail.re2.yahoo.com> The code is buried in Map.js. ________________________________ From: Brian Fischer To: Jessica Fendos ; "geomoose-users@lists.sourceforge.net" Sent: Tuesday, June 2, 2009 4:05:19 PM Subject: Re: [Geomoose-users] Fade Effect Step Value Jessica, There is no configuration variable for that. You would have to dig into the javascript code and make the change in there. Not sure where it is buried in the javascript code. Brian Fischer,CFM GIS Project Manager Houston Engineering, Inc. Phone: W: 763.493.4522 / M: 763.229.2734 From:Jessica Fendos [mailto:Jessica.Fendos@state.mn.us] Sent: Tuesday, June 02, 2009 12:08 PM To: geomoose-users@lists.sourceforge.net Subject: [Geomoose-users] Fade Effect Step Value Hi: I know that we can control MAP_FADE_EFFECTS to be true or false and change the MAP_FADE_EFFECTS_DURATION in the configuration.js file. However, how can I change the step value for the fade effect so that fading occurs more drastically? Can someone advise? Thanks! Jessica -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090602/707bc586/attachment.html From MarkVolz at co.lyon.mn.us Thu Jun 4 09:00:37 2009 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] [Geomoose-developers] Project Raster ont he fly In-Reply-To: References: Message-ID: <3D56274B4A7874468F58FADDBFD098010767EAFB@llmhs02.r8nssis.local> Jay, We are projecting rasters on the fly. Attached below is a copy of one of our maps that projects from UTM to County Coordinates. It sounds like you will just need to switch the two projection blocks around then replace the Lyon County Coordinates with your county coordinate system. You can also supply the ESPG codes as well. I have my projection parameters inline, either should be fine. MAP NAME 'FSA2008' STATUS ON UNITS FEET Projection #Lyon County Coordinates (the projection of the map) "proj=lcc" 'lat_1=44.25' 'lat_2=44.58333333333334' 'lat_0=44.19555555555555' 'lon_0=-95.85000000000001' 'x_0=152400.3048006096' 'y_0=30480.06096012192' 'a=6378559.758' 'b=6357173.65471281' "units=ft" "no_defs" END #projection LAYER NAME lmic_fsa2008 TYPE RASTER STATUS DEFAULT CONNECTIONTYPE WMS CONNECTION "http://geoint.lmic.state.mn.us/cgi-bin/wms?" METADATA "wms_srs" "EPSG:26915" "wms_name" "fsa2008" "wms_server_version" "1.1.1" "wms_format" "image/jpeg" "wms_styles" "" "wms_exceptions" "application/vnd.ogc.se_inimage" END Projection #UTM15 (the projection of the data) "proj=lcc" "lat_1=-76.66666666666667" "lat_2=-79.33333333333333" "lat_0=-90" "lon_0=96" "x_0=0" "y_0=0" "ellps=WGS84" "datum=WGS84" "units=m" "no_defs" END #Projection END#layer END#map Mark Volz GIS Specialist Lyon County, MN (507) 532-8218 ________________________________ From: Jay Kapalczynski [mailto:jkapalczynski@ci.maple-grove.mn.us] Sent: Wednesday, May 27, 2009 9:13 AM To: geomoose-users@lists.sourceforge.net; geomoose-developers@lists.sourceforge.net Subject: [Geomoose-developers] Project Raster ont he fly If I have a SID file that I know is in Henn Projection...what do I need to do to get GeoMOOSE to read this file and reproject it to UTMNAD83 Zone 15 Meters THanks -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090604/bef4397b/attachment.html From MarkVolz at co.lyon.mn.us Mon Jun 8 09:05:23 2009 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] gm 2.0 county projection template Message-ID: <3D56274B4A7874468F58FADDBFD098010767F1FF@llmhs02.r8nssis.local> Hello, With the help of Brian Fisher I was able to figure out how to use county coordinates. I would imagine anyone who wants to use county projections can replace the projection I have below with their own county projection coordinate system. Proj4js.defs["EPSG:127083"] = "+proj=lcc +ellps=GRS80 +datum=NAD83 +units=m +lon_0=-95.8500000001 +x_0=152400.3048000000 +y_0=30480.0610000000 +lat_1=44.5833333333 +lat_0=44.1955555556 +lat_2=44.2500000000 +no_defs"; Mark Volz GIS Specialist Lyon County, MN (507) 532-8218 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090608/7fd36fa0/attachment.html From MarkVolz at co.lyon.mn.us Wed Jun 10 14:31:22 2009 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? Message-ID: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> Hello, Our users want to use county projections within our mapping application. In GM 1.6.1 We decided that there was only a minimal performance hit for the LMIC WMS service(s) to reproject on the fly. This is not true in GM 2.0. GM 2.0 allows users the option of using a tile scheme on the WMS layers. I was impressed with the speed of the WMS services on the demo. Recently I ported the GM 2.0 demo over into county projections. I noticed there is a huge performance hit if tiling is turned on. This left me with a couple options: 1) I can leave the tiling system off, and the WMS performance would be similar to that of a 1.6 app. 2) I can abandon the county projection in favor of utm so that I can use tile cache and hope that no one complains too much that the map is no longer in county coordinates. Another thought I had is if I decided to use UTM (to take advantage of tiling) would it be possible for me to display the XY location in county coordinates? If so, does anyone know what file(s) would need to be modified so that I can display county coordinates in the status bar? Thanks Mark Volz GIS Specialist Lyon County, MN -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090610/9f571a14/attachment.html From bfraser at geoanalytic.com Thu Jun 11 14:19:06 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? In-Reply-To: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> Message-ID: <4A314A9A.30300@geoanalytic.com> Mark, I haven't looked at the tiling so I can't comment on the performance issue. As for the coordinate display, I see that stock GeoMoose v2.0 now allows for three simultaneous coordinate displays: - projected X/Y - geographic Lat/Lon - USNG It would be nice if it was instead a flexible list of any number of reference systems that took lat/lon as input and returned a string to be displayed. I'm interested in displaying Township/Range values for example, so I'd have to write the JavaScript to do the conversion, but it would be nice to be able to easily plug it in stock GeoMoose somewhere, similar to the way custom projections work in v1.6.1. Brent Fraser Mark Volz wrote: > Hello, > > > > Our users want to use county projections within our mapping > application. In GM 1.6.1 We decided that there was only a minimal > performance hit for the LMIC WMS service(s) to reproject on the fly. > This is not true in GM 2.0. GM 2.0 allows users the option of using a > tile scheme on the WMS layers. I was impressed with the speed of the > WMS services on the demo. Recently I ported the GM 2.0 demo over into > county projections. I noticed there is a *huge *performance hit if > tiling is turned on. > > > > This left me with a couple options: 1) I can leave the tiling system > off, and the WMS performance would be similar to that of a 1.6 app. 2) > I can abandon the county projection in favor of utm so that I can use > tile cache and hope that no one complains too much that the map is no > longer in county coordinates. > > > > Another thought I had is if I decided to use UTM (to take advantage of > tiling) would it be possible for me to display the XY location in county > coordinates? If so, does anyone know what file(s) would need to be > modified so that I can display county coordinates in the status bar? > > > > Thanks > > > > > > Mark Volz > > GIS Specialist > > Lyon County, MN > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users From MarkVolz at co.lyon.mn.us Thu Jun 11 15:21:39 2009 From: MarkVolz at co.lyon.mn.us (Mark Volz) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? In-Reply-To: <4A314A9A.30300@geoanalytic.com> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> Message-ID: <3D56274B4A7874468F58FADDBFD09801076EBE12@llmhs02.r8nssis.local> Skipped content of type multipart/alternative-------------- next part -------------- A non-text attachment was scrubbed... Name: compiled_AttemptStatusBar.js.doc Type: application/msword Size: 142577 bytes Desc: compiled_AttemptStatusBar.js.doc Url : http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090611/77bf9534/compiled_AttemptStatusBar.js.doc -------------- next part -------------- A non-text attachment was scrubbed... Name: compiled.js modifications to get projection in status bar.doc Type: application/msword Size: 30208 bytes Desc: compiled.js modifications to get projection in status bar.doc Url : http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090611/77bf9534/compiled.jsmodificationstogetprojectioninstatusbar.doc From bfraser at geoanalytic.com Thu Jun 11 15:44:15 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? In-Reply-To: <3D56274B4A7874468F58FADDBFD09801076EBE12@llmhs02.r8nssis.local> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> <3D56274B4A7874468F58FADDBFD09801076EBE12@llmhs02.r8nssis.local> Message-ID: <4A315E8F.7060101@geoanalytic.com> Mark, I think you're on the right track. I see that the std GeoMoose.html does at line 52. Perhaps the CountyProjection = new OpenLayers.Projection('EPSG127083'); does a look-up ? Maybe you need to make a proj4js/lib/defs/EPSG127083.js? Brent Mark Volz wrote: > Brent, > > > > I took a look at trying to get custom coordinates to display on a UTM > map by modifying the compiled.js file. It appears that openlayers > handles work for converting the coordinates. I do not know how > difficult it would be to add the township and range to the status bar. > > > > Attached below are the lines that I modified to try to get our > coordinates to dsiplay. The code returns an error at line 1600 stating: > CountyProjection is not defined. I am defining the CountyProjection on > line 1551 however I wonder if OpenLayers is unable to find my custom > projection. Any thoughts would be helpful. > > / / > > > > Line 43 > > 'coordinate_display' : { > > xy: true, /* Ground Units */ > > latlon: true, /* Longitude and Latitude */ > > usng: true, /* U.S. National Grid */ > > *county: true /* County Projection */* > > }, > > > > Line 738 > > 'coordinate_display' : { > > xy: true, /* Ground Units */ > > latlon: true, /* Longitude and Latitude */ > > usng: true, /* U.S. National Grid */ > > *county: true /* County Projection test*/* > > }, > > Line 1550 > > LatLongProjection = new OpenLayers.Projection('WGS84'); > > *CountyProjection = new OpenLayers.Projection('EPSG127083');* > > > > Line 1580 > > OpenLayers.Projection.transform(degrees, > > Map.getProjectionObject(), > > LatLongProjection); > > > > if(CONFIGURATION.coordinate_display.latlon) { > > html += 'Lat, Lon: '; > > html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3); > > } > > * OpenLayers.Projection.transform(degrees, * > > * Map.getProjectionObject(),* > > * CountyProjection);* > > * * > > * if(CONFIGURATION.coordinate_display.county) {* > > * html += 'X, Y: ';* > > * html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3);* > > } > > > > Line 3560 > > > > if(this.xml.getAttribute('reproject')) { > > var new_proj = this.xml.getAttribute('reproject'); > > if(new_proj == 'EPSG:4326' || new_proj == 'WGS84') { > > dest_proj = LatLongProjection; > > } *else if(new_proj == 'EPSG127083') {* > > * dest_proj = CountyProjection; * > > *}* else { > > dest_proj = OpenLayers.Projection(new_proj); > > } > > > > OpenLayers.Projection.transform(f.geometry, > > Map.getProjectionObject(), > > dest_proj); > > } > > > > var input = Catalog.createElement('input'); > > input.setAttribute('name', stepName); > > input.appendChild(Catalog.createCDATASection(output.write(f))); > > this.xml.appendChild(input); > > > Mark Volz > > GIS Specialist > > Lyon County, MN > > (507) 532-8218 > > > > -----Original Message----- > From: Brent Fraser [mailto:bfraser@geoanalytic.com] > Sent: Thursday, June 11, 2009 1:19 PM > To: Mark Volz > Cc: geomoose-users@lists.sourceforge.net > Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > projections / is it possible to add a custom coordinate to the status > bar while using UTM? > > > > Mark, > > > > I haven't looked at the tiling so I can't comment on the performance > issue. > > > > As for the coordinate display, I see that stock GeoMoose v2.0 now > allows for three simultaneous coordinate displays: > > - projected X/Y > > - geographic Lat/Lon > > - USNG > > > > It would be nice if it was instead a flexible list of any number of > reference systems that took lat/lon as input and returned a string to be > displayed. > > > > I'm interested in displaying Township/Range values for example, so I'd > have to write the JavaScript to do the conversion, but it would be nice > to be able to easily plug it in stock GeoMoose somewhere, similar to the > way custom projections work in v1.6.1. > > > > Brent Fraser > > > > Mark Volz wrote: > >> Hello, > >> > >> > >> > >> Our users want to use county projections within our mapping > >> application. In GM 1.6.1 We decided that there was only a minimal > >> performance hit for the LMIC WMS service(s) to reproject on the fly. > >> This is not true in GM 2.0. GM 2.0 allows users the option of using a > >> tile scheme on the WMS layers. I was impressed with the speed of the > >> WMS services on the demo. Recently I ported the GM 2.0 demo over into > >> county projections. I noticed there is a *huge *performance hit if > >> tiling is turned on. > >> > >> > >> > >> This left me with a couple options: 1) I can leave the tiling system > >> off, and the WMS performance would be similar to that of a 1.6 app. 2) > >> I can abandon the county projection in favor of utm so that I can use > >> tile cache and hope that no one complains too much that the map is no > >> longer in county coordinates. > >> > >> > >> > >> Another thought I had is if I decided to use UTM (to take advantage of > >> tiling) would it be possible for me to display the XY location in county > >> coordinates? If so, does anyone know what file(s) would need to be > >> modified so that I can display county coordinates in the status bar? > >> > >> > >> > >> Thanks > >> > >> > >> > >> > >> > >> Mark Volz > >> > >> GIS Specialist > >> > >> Lyon County, MN > >> > >> > >> > >> > >> ------------------------------------------------------------------------ > >> > >> > ------------------------------------------------------------------------------ > >> Crystal Reports - New Free Runtime and 30 Day Trial > >> Check out the new simplified licensing option that enables unlimited > >> royalty-free distribution of the report engine for externally facing > >> server and web deployment. > >> http://p.sf.net/sfu/businessobjects > >> > >> > >> ------------------------------------------------------------------------ > >> > >> _______________________________________________ > >> Geomoose-users mailing list > >> Geomoose-users@lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/geomoose-users > From danlittle at yahoo.com Thu Jun 11 15:47:08 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? In-Reply-To: <4A315E8F.7060101@geoanalytic.com> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> <3D56274B4A7874468F58FADDBFD09801076EBE12@llmhs02.r8nssis.local> <4A315E8F.7060101@geoanalytic.com> Message-ID: <889983.8479.qm@web51408.mail.re2.yahoo.com> HTH, http://www.geomoose.org/geomoose2/docs/docs/projections.html ----- Original Message ---- > From: Brent Fraser > To: Mark Volz > Cc: geomoose-users@lists.sourceforge.net > Sent: Thursday, June 11, 2009 2:44:15 PM > Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? > > Mark, > > I think you're on the right track. I see that the std GeoMoose.html does > > > > at line 52. Perhaps the CountyProjection = new > OpenLayers.Projection('EPSG127083'); does a look-up ? > Maybe you need to make a proj4js/lib/defs/EPSG127083.js? > > Brent > > > > Mark Volz wrote: > > Brent, > > > > > > > > I took a look at trying to get custom coordinates to display on a UTM > > map by modifying the compiled.js file. It appears that openlayers > > handles work for converting the coordinates. I do not know how > > difficult it would be to add the township and range to the status bar. > > > > > > > > Attached below are the lines that I modified to try to get our > > coordinates to dsiplay. The code returns an error at line 1600 stating: > > CountyProjection is not defined. I am defining the CountyProjection on > > line 1551 however I wonder if OpenLayers is unable to find my custom > > projection. Any thoughts would be helpful. > > > > / / > > > > > > > > Line 43 > > > > 'coordinate_display' : { > > > > xy: true, /* Ground Units */ > > > > latlon: true, /* Longitude and Latitude */ > > > > usng: true, /* U.S. National Grid */ > > > > *county: true /* County Projection */* > > > > }, > > > > > > > > Line 738 > > > > 'coordinate_display' : { > > > > xy: true, /* Ground Units */ > > > > latlon: true, /* Longitude and Latitude */ > > > > usng: true, /* U.S. National Grid */ > > > > *county: true /* County Projection test*/* > > > > }, > > > > Line 1550 > > > > LatLongProjection = new OpenLayers.Projection('WGS84'); > > > > *CountyProjection = new OpenLayers.Projection('EPSG127083');* > > > > > > > > Line 1580 > > > > OpenLayers.Projection.transform(degrees, > > > > Map.getProjectionObject(), > > > > LatLongProjection); > > > > > > > > if(CONFIGURATION.coordinate_display.latlon) { > > > > html += 'Lat, Lon: '; > > > > html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3); > > > > } > > > > * OpenLayers.Projection.transform(degrees, * > > > > * Map.getProjectionObject(),* > > > > * CountyProjection);* > > > > * * > > > > * if(CONFIGURATION.coordinate_display.county) {* > > > > * html += 'X, Y: ';* > > > > * html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3);* > > > > } > > > > > > > > Line 3560 > > > > > > > > if(this.xml.getAttribute('reproject')) { > > > > var new_proj = this.xml.getAttribute('reproject'); > > > > if(new_proj == 'EPSG:4326' || new_proj == 'WGS84') { > > > > dest_proj = LatLongProjection; > > > > } *else if(new_proj == 'EPSG127083') {* > > > > * dest_proj = CountyProjection; * > > > > *}* else { > > > > dest_proj = OpenLayers.Projection(new_proj); > > > > } > > > > > > > > OpenLayers.Projection.transform(f.geometry, > > > > Map.getProjectionObject(), > > > > dest_proj); > > > > } > > > > > > > > var input = Catalog.createElement('input'); > > > > input.setAttribute('name', stepName); > > > > input.appendChild(Catalog.createCDATASection(output.write(f))); > > > > this.xml.appendChild(input); > > > > > > Mark Volz > > > > GIS Specialist > > > > Lyon County, MN > > > > (507) 532-8218 > > > > > > > > -----Original Message----- > > From: Brent Fraser [mailto:bfraser@geoanalytic.com] > > Sent: Thursday, June 11, 2009 1:19 PM > > To: Mark Volz > > Cc: geomoose-users@lists.sourceforge.net > > Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > > projections / is it possible to add a custom coordinate to the status > > bar while using UTM? > > > > > > > > Mark, > > > > > > > > I haven't looked at the tiling so I can't comment on the performance > > issue. > > > > > > > > As for the coordinate display, I see that stock GeoMoose v2.0 now > > allows for three simultaneous coordinate displays: > > > > - projected X/Y > > > > - geographic Lat/Lon > > > > - USNG > > > > > > > > It would be nice if it was instead a flexible list of any number of > > reference systems that took lat/lon as input and returned a string to be > > displayed. > > > > > > > > I'm interested in displaying Township/Range values for example, so I'd > > have to write the JavaScript to do the conversion, but it would be nice > > to be able to easily plug it in stock GeoMoose somewhere, similar to the > > way custom projections work in v1.6.1. > > > > > > > > Brent Fraser > > > > > > > > Mark Volz wrote: > > > >> Hello, > > > >> > > > >> > > > >> > > > >> Our users want to use county projections within our mapping > > > >> application. In GM 1.6.1 We decided that there was only a minimal > > > >> performance hit for the LMIC WMS service(s) to reproject on the fly. > > > >> This is not true in GM 2.0. GM 2.0 allows users the option of using a > > > >> tile scheme on the WMS layers. I was impressed with the speed of the > > > >> WMS services on the demo. Recently I ported the GM 2.0 demo over into > > > >> county projections. I noticed there is a *huge *performance hit if > > > >> tiling is turned on. > > > >> > > > >> > > > >> > > > >> This left me with a couple options: 1) I can leave the tiling system > > > >> off, and the WMS performance would be similar to that of a 1.6 app. 2) > > > >> I can abandon the county projection in favor of utm so that I can use > > > >> tile cache and hope that no one complains too much that the map is no > > > >> longer in county coordinates. > > > >> > > > >> > > > >> > > > >> Another thought I had is if I decided to use UTM (to take advantage of > > > >> tiling) would it be possible for me to display the XY location in county > > > >> coordinates? If so, does anyone know what file(s) would need to be > > > >> modified so that I can display county coordinates in the status bar? > > > >> > > > >> > > > >> > > > >> Thanks > > > >> > > > >> > > > >> > > > >> > > > >> > > > >> Mark Volz > > > >> > > > >> GIS Specialist > > > >> > > > >> Lyon County, MN > > > >> > > > >> > > > >> > > > >> > > > >> ------------------------------------------------------------------------ > > > >> > > > >> > > ------------------------------------------------------------------------------ > > > >> Crystal Reports - New Free Runtime and 30 Day Trial > > > >> Check out the new simplified licensing option that enables unlimited > > > >> royalty-free distribution of the report engine for externally facing > > > >> server and web deployment. > > > >> http://p.sf.net/sfu/businessobjects > > > >> > > > >> > > > >> ------------------------------------------------------------------------ > > > >> > > > >> _______________________________________________ > > > >> Geomoose-users mailing list > > > >> Geomoose-users@lists.sourceforge.net > > > >> https://lists.sourceforge.net/lists/listinfo/geomoose-users > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users From Bob.Basques at ci.stpaul.mn.us Thu Jun 11 19:24:15 2009 From: Bob.Basques at ci.stpaul.mn.us (Bob Basques) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in countyprojections / is it possible to add a custom coordinate to the statusbar while using UTM? In-Reply-To: <4A314A9A.30300@geoanalytic.com> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> Message-ID: <4A314BCE.163B.00A8.0@ci.stpaul.mn.us> All, The Projected X/Y option was oringially intended as a way of displaying the ground cooedinates of the dominant dataset in the GeoMoose install. Your mention of providing a TownShip/Range output option is an interesting one, problem is, it's not really a real coordinate system, it's more closely related to a polygon ID query. That being said, I can see the usefulness of adding in a fourth output option related to a polygon mouseover effect that is always on like the existing three projections. This would allow for any sort of polygon mouseover overlay system. Now, I haven't thought this through completely, but I think there would be some performance cost to something like this, because of the readout not being related to a straight mathematical process, but more akin to a ImageMap reader. Another thought along these lines, might be to allow a user to pick a layer to use as an optional readout, and use a particular attribute from the layer as the readout, even pretty names could be used. Now if you add this output functionality into the side menu, you might even go so far as to run multiple readout (like at the bottom) but with more data available in the readout. I can see this being useful for emergency services and such, even switching between GPS tracks (instead of using the mouse exclusively) to control the readout and such, all sorts of potential here, but again, I'm not sure about the potential performance costs related to it. Might be something I'm going to investigate further though. Even if it's only to let everyone tell me it can't be done. :c) Neat idea though . . . . bobb >>> Brent Fraser wrote: Mark, I haven't looked at the tiling so I can't comment on the performance issue. As for the coordinate display, I see that stock GeoMoose v2.0 now allows for three simultaneous coordinate displays: - projected X/Y - geographic Lat/Lon - USNG It would be nice if it was instead a flexible list of any number of reference systems that took lat/lon as input and returned a string to be displayed. I'm interested in displaying Township/Range values for example, so I'd have to write the JavaScript to do the conversion, but it would be nice to be able to easily plug it in stock GeoMoose somewhere, similar to the way custom projections work in v1.6.1. Brent Fraser Mark Volz wrote: > Hello, > > > > Our users want to use county projections within our mapping > application. In GM 1.6.1 We decided that there was only a minimal > performance hit for the LMIC WMS service(s) to reproject on the fly. > This is not true in GM 2.0. GM 2.0 allows users the option of using a > tile scheme on the WMS layers. I was impressed with the speed of the > WMS services on the demo. Recently I ported the GM 2.0 demo over into > county projections. I noticed there is a *huge *performance hit if > tiling is turned on. > > > > This left me with a couple options: 1) I can leave the tiling system > off, and the WMS performance would be similar to that of a 1.6 app. 2) > I can abandon the county projection in favor of utm so that I can use > tile cache and hope that no one complains too much that the map is no > longer in county coordinates. > > > > Another thought I had is if I decided to use UTM (to take advantage of > tiling) would it be possible for me to display the XY location in county > coordinates? If so, does anyone know what file(s) would need to be > modified so that I can display county coordinates in the status bar? > > > > Thanks > > > > > > Mark Volz > > GIS Specialist > > Lyon County, MN > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geomoose-users mailing list Geomoose-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geomoose-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090611/d3b3b1d4/attachment.html From bfraser at geoanalytic.com Thu Jun 11 20:30:17 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in countyprojections / is it possible to add a custom coordinate to the statusbar while using UTM? In-Reply-To: <4A314BCE.163B.00A8.0@ci.stpaul.mn.us> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> <4A314BCE.163B.00A8.0@ci.stpaul.mn.us> Message-ID: <.174.0.228.164.1244766617.squirrel@174.0.228.164> > All, > > The Projected X/Y option was oringially intended as a way of displaying > the ground cooedinates of the dominant dataset in the GeoMoose install. > Your mention of providing a TownShip/Range output option is an interesting > one, problem is, it's not really a real coordinate system, it's more > closely related to a polygon ID query. That being said, I can see the > usefulness of adding in a fourth output option related to a polygon > mouseover effect that is always on like the existing three projections. > This would allow for any sort of polygon mouseover overlay system. In Western Canada the mathematical approximation of the township/range system can be good enough for some applications (I'd have to translate our C code into JavaScript). But for any kind of accuracy, a polygon approach is best. My thought was to send the xy coords back to a server and have it send a label. Performance could be poor... > > Now, I haven't thought this through completely, but I think there would be > some performance cost to something like this, because of the readout not > being related to a straight mathematical process, but more akin to a > ImageMap reader. Another thought along these lines, might be to allow a > user to pick a layer to use as an optional readout, and use a particular > attribute from the layer as the readout, even pretty names could be used. > Now if you add this output functionality into the side menu, you might > even go so far as to run multiple readout (like at the bottom) but with > more data available in the readout. I can see this being useful for > emergency services and such, even switching between GPS tracks (instead of > using the mouse exclusively) to control the readout and such, all sorts of > potential here, but again, I'm not sure about the potential performance > costs related to it. Perhaps making use of Mapserver's imagemap output? Or WFS? That would be fun! > > Might be something I'm going to investigate further though. Even if it's > only to let everyone tell me it can't be done. > > :c) > > Neat idea though . . . . > > bobb > > > >>>> Brent Fraser wrote: > > Mark, > > I haven't looked at the tiling so I can't comment on the performance > issue. > > As for the coordinate display, I see that stock GeoMoose v2.0 now allows > for three simultaneous coordinate displays: > - projected X/Y > - geographic Lat/Lon > - USNG > > It would be nice if it was instead a flexible list of any number of > reference systems that took lat/lon as input and returned a string to be > displayed. > > I'm interested in displaying Township/Range values for example, so I'd > have to write the JavaScript to do the conversion, but it would be nice > to be able to easily plug it in stock GeoMoose somewhere, similar to the > way custom projections work in v1.6.1. > > Brent Fraser > > Mark Volz wrote: >> Hello, >> >> >> >> Our users want to use county projections within our mapping >> application. In GM 1.6.1 We decided that there was only a minimal >> performance hit for the LMIC WMS service(s) to reproject on the fly. >> This is not true in GM 2.0. GM 2.0 allows users the option of using a >> tile scheme on the WMS layers. I was impressed with the speed of the >> WMS services on the demo. Recently I ported the GM 2.0 demo over into >> county projections. I noticed there is a *huge *performance hit if >> tiling is turned on. >> >> >> >> This left me with a couple options: 1) I can leave the tiling system >> off, and the WMS performance would be similar to that of a 1.6 app. 2) >> I can abandon the county projection in favor of utm so that I can use >> tile cache and hope that no one complains too much that the map is no >> longer in county coordinates. >> >> >> >> Another thought I had is if I decided to use UTM (to take advantage of >> tiling) would it be possible for me to display the XY location in county >> coordinates? If so, does anyone know what file(s) would need to be >> modified so that I can display county coordinates in the status bar? >> >> >> >> Thanks >> >> >> >> >> >> Mark Volz >> >> GIS Specialist >> >> Lyon County, MN >> >> >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------------ >> Crystal Reports - New Free Runtime and 30 Day Trial >> Check out the new simplified licensing option that enables unlimited >> royalty-free distribution of the report engine for externally facing >> server and web deployment. >> http://p.sf.net/sfu/businessobjects >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Geomoose-users mailing list >> Geomoose-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geomoose-users > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users > > > From danlittle at yahoo.com Fri Jun 12 08:17:44 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? In-Reply-To: <3D56274B4A7874468F58FADDBFD09801076EBE6E@llmhs02.r8nssis.local> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> <3D56274B4A7874468F58FADDBFD09801076EBE12@llmhs02.r8nssis.local> <4A315E8F.7060101@geoanalytic.com> <889983.8479.qm@web51408.mail.re2.yahoo.com> <3D56274B4A7874468F58FADDBFD09801076EBE6E@llmhs02.r8nssis.local> Message-ID: <524490.75830.qm@web51402.mail.re2.yahoo.com> http://www.geomoose.org/geomoose2/docs/howto/wms_project.html This allows a service to be in a different projection than the Main map with no mapserver reprojection. However, it is currently broken with tiles. It's something I have to fix. Maybe tonight, maybe this weekend, maybe early next week. I'm really hoping to round out the GM2.0 documentation and make an official release. -Duck ----- Original Message ---- > From: Mark Volz > To: Dan Little > Sent: Thursday, June 11, 2009 3:10:22 PM > Subject: RE: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? > > Dan, > > I noticed your reply. I was able to get the map projection and display > coordinates in Lyon County format. However when I did so what happened was > that the performance of GM slowed way down when I was using tiles in county > coordinates. I do realize that I can turn tiles off, However what I would > really like to do is have the best of both worlds: keep the actual map in > UTM-15 which allows me to use tiling without reprojecting (ie fast) while > having the status bar display XY in county coordinates so that county > coordinate users stay happy. > > > Mark Volz > GIS Specialist > Lyon County, MN > (507) 532-8218 > > -----Original Message----- > From: Dan Little [mailto:danlittle@yahoo.com] > Sent: Thursday, June 11, 2009 2:47 PM > To: Brent Fraser; Mark Volz > Cc: geomoose-users@lists.sourceforge.net > Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > projections / is it possible to add a custom coordinate to the status bar > while using UTM? > > > HTH, > > http://www.geomoose.org/geomoose2/docs/docs/projections.html > > > ----- Original Message ---- > > From: Brent Fraser > > To: Mark Volz > > Cc: geomoose-users@lists.sourceforge.net > > Sent: Thursday, June 11, 2009 2:44:15 PM > > Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > projections / is it possible to add a custom coordinate to the status bar > while using UTM? > > > > Mark, > > > > I think you're on the right track. I see that the std GeoMoose.html does > > > > > > > > at line 52. Perhaps the CountyProjection = new > > OpenLayers.Projection('EPSG127083'); does a look-up ? > > Maybe you need to make a proj4js/lib/defs/EPSG127083.js? > > > > Brent > > > > > > > > Mark Volz wrote: > > > Brent, > > > > > > > > > > > > I took a look at trying to get custom coordinates to display on a UTM > > > map by modifying the compiled.js file. It appears that openlayers > > > handles work for converting the coordinates. I do not know how > > > difficult it would be to add the township and range to the status bar. > > > > > > > > > > > > Attached below are the lines that I modified to try to get our > > > coordinates to dsiplay. The code returns an error at line 1600 stating: > > > CountyProjection is not defined. I am defining the CountyProjection on > > > line 1551 however I wonder if OpenLayers is unable to find my custom > > > projection. Any thoughts would be helpful. > > > > > > / / > > > > > > > > > > > > Line 43 > > > > > > 'coordinate_display' : { > > > > > > xy: true, /* Ground Units */ > > > > > > latlon: true, /* Longitude and Latitude */ > > > > > > usng: true, /* U.S. National Grid */ > > > > > > *county: true /* County Projection */* > > > > > > }, > > > > > > > > > > > > Line 738 > > > > > > 'coordinate_display' : { > > > > > > xy: true, /* Ground Units */ > > > > > > latlon: true, /* Longitude and Latitude */ > > > > > > usng: true, /* U.S. National Grid */ > > > > > > *county: true /* County Projection test*/* > > > > > > }, > > > > > > Line 1550 > > > > > > LatLongProjection = new OpenLayers.Projection('WGS84'); > > > > > > *CountyProjection = new OpenLayers.Projection('EPSG127083');* > > > > > > > > > > > > Line 1580 > > > > > > OpenLayers.Projection.transform(degrees, > > > > > > Map.getProjectionObject(), > > > > > > LatLongProjection); > > > > > > > > > > > > if(CONFIGURATION.coordinate_display.latlon) { > > > > > > html += 'Lat, Lon: '; > > > > > > html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3); > > > > > > } > > > > > > * OpenLayers.Projection.transform(degrees, * > > > > > > * Map.getProjectionObject(),* > > > > > > * CountyProjection);* > > > > > > * * > > > > > > * if(CONFIGURATION.coordinate_display.county) {* > > > > > > * html += 'X, Y: ';* > > > > > > * html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3);* > > > > > > } > > > > > > > > > > > > Line 3560 > > > > > > > > > > > > if(this.xml.getAttribute('reproject')) { > > > > > > var new_proj = this.xml.getAttribute('reproject'); > > > > > > if(new_proj == 'EPSG:4326' || new_proj == 'WGS84') { > > > > > > dest_proj = LatLongProjection; > > > > > > } *else if(new_proj == 'EPSG127083') {* > > > > > > * dest_proj = CountyProjection; * > > > > > > *}* else { > > > > > > dest_proj = OpenLayers.Projection(new_proj); > > > > > > } > > > > > > > > > > > > OpenLayers.Projection.transform(f.geometry, > > > > > > Map.getProjectionObject(), > > > > > > dest_proj); > > > > > > } > > > > > > > > > > > > var input = Catalog.createElement('input'); > > > > > > input.setAttribute('name', stepName); > > > > > > > input.appendChild(Catalog.createCDATASection(output.write(f))); > > > > > > this.xml.appendChild(input); > > > > > > > > > Mark Volz > > > > > > GIS Specialist > > > > > > Lyon County, MN > > > > > > (507) 532-8218 > > > > > > > > > > > > -----Original Message----- > > > From: Brent Fraser [mailto:bfraser@geoanalytic.com] > > > Sent: Thursday, June 11, 2009 1:19 PM > > > To: Mark Volz > > > Cc: geomoose-users@lists.sourceforge.net > > > Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > > > projections / is it possible to add a custom coordinate to the status > > > bar while using UTM? > > > > > > > > > > > > Mark, > > > > > > > > > > > > I haven't looked at the tiling so I can't comment on the performance > > > issue. > > > > > > > > > > > > As for the coordinate display, I see that stock GeoMoose v2.0 now > > > allows for three simultaneous coordinate displays: > > > > > > - projected X/Y > > > > > > - geographic Lat/Lon > > > > > > - USNG > > > > > > > > > > > > It would be nice if it was instead a flexible list of any number of > > > reference systems that took lat/lon as input and returned a string to be > > > displayed. > > > > > > > > > > > > I'm interested in displaying Township/Range values for example, so I'd > > > have to write the JavaScript to do the conversion, but it would be nice > > > to be able to easily plug it in stock GeoMoose somewhere, similar to the > > > way custom projections work in v1.6.1. > > > > > > > > > > > > Brent Fraser > > > > > > > > > > > > Mark Volz wrote: > > > > > >> Hello, > > > > > >> > > > > > >> > > > > > >> > > > > > >> Our users want to use county projections within our mapping > > > > > >> application. In GM 1.6.1 We decided that there was only a minimal > > > > > >> performance hit for the LMIC WMS service(s) to reproject on the fly. > > > > > >> This is not true in GM 2.0. GM 2.0 allows users the option of using a > > > > > >> tile scheme on the WMS layers. I was impressed with the speed of the > > > > > >> WMS services on the demo. Recently I ported the GM 2.0 demo over into > > > > > >> county projections. I noticed there is a *huge *performance hit if > > > > > >> tiling is turned on. > > > > > >> > > > > > >> > > > > > >> > > > > > >> This left me with a couple options: 1) I can leave the tiling system > > > > > >> off, and the WMS performance would be similar to that of a 1.6 app. 2) > > > > > >> I can abandon the county projection in favor of utm so that I can use > > > > > >> tile cache and hope that no one complains too much that the map is no > > > > > >> longer in county coordinates. > > > > > >> > > > > > >> > > > > > >> > > > > > >> Another thought I had is if I decided to use UTM (to take advantage of > > > > > >> tiling) would it be possible for me to display the XY location in > county > > > > > >> coordinates? If so, does anyone know what file(s) would need to be > > > > > >> modified so that I can display county coordinates in the status bar? > > > > > >> > > > > > >> > > > > > >> > > > > > >> Thanks > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> Mark Volz > > > > > >> > > > > > >> GIS Specialist > > > > > >> > > > > > >> Lyon County, MN > > > > > >> > > > > > >> > > > > > >> > > > > > >> > > > > > >> > ------------------------------------------------------------------------ > > > > > >> > > > > > >> > > > > ----------------------------------------------------------------------------- > - > > > > > >> Crystal Reports - New Free Runtime and 30 Day Trial > > > > > >> Check out the new simplified licensing option that enables unlimited > > > > > >> royalty-free distribution of the report engine for externally facing > > > > > >> server and web deployment. > > > > > >> http://p.sf.net/sfu/businessobjects > > > > > >> > > > > > >> > > > > > >> > ------------------------------------------------------------------------ > > > > > >> > > > > > >> _______________________________________________ > > > > > >> Geomoose-users mailing list > > > > > >> Geomoose-users@lists.sourceforge.net > > > > > >> https://lists.sourceforge.net/lists/listinfo/geomoose-users > > > > > > > > ----------------------------------------------------------------------------- > - > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for externally facing > > server and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Geomoose-users mailing list > > Geomoose-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/geomoose-users From bfraser at geoanalytic.com Fri Jun 12 10:30:29 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? In-Reply-To: <524490.75830.qm@web51402.mail.re2.yahoo.com> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> <3D56274B4A7874468F58FADDBFD09801076EBE12@llmhs02.r8nssis.local> <4A315E8F.7060101@geoanalytic.com> <889983.8479.qm@web51408.mail.re2.yahoo.com> <3D56274B4A7874468F58FADDBFD09801076EBE6E@llmhs02.r8nssis.local> <524490.75830.qm@web51402.mail.re2.yahoo.com> Message-ID: <4A326685.1090100@geoanalytic.com> Dan, So is OpenLayers doing the re-projection of the WMS image on the client? Wow! Brent Dan Little wrote: > http://www.geomoose.org/geomoose2/docs/howto/wms_project.html > > This allows a service to be in a different projection than the Main map with no mapserver reprojection. However, it is currently broken with tiles. It's something I have to fix. Maybe tonight, maybe this weekend, maybe early next week. I'm really ho > ping to round out the GM2.0 documentation and make an official release. > > -Duck > > > ----- Original Message ---- >> From: Mark Volz >> To: Dan Little >> Sent: Thursday, June 11, 2009 3:10:22 PM >> Subject: RE: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? >> >> Dan, >> >> I noticed your reply. I was able to get the map projection and display >> coordinates in Lyon County format. However when I did so what happened was >> that the performance of GM slowed way down when I was using tiles in county >> coordinates. I do realize that I can turn tiles off, However what I would >> really like to do is have the best of both worlds: keep the actual map in >> UTM-15 which allows me to use tiling without reprojecting (ie fast) while >> having the status bar display XY in county coordinates so that county >> coordinate users stay happy. >> >> >> Mark Volz >> GIS Specialist >> Lyon County, MN >> (507) 532-8218 >> >> -----Original Message----- >> From: Dan Little [mailto:danlittle@yahoo.com] >> Sent: Thursday, June 11, 2009 2:47 PM >> To: Brent Fraser; Mark Volz >> Cc: geomoose-users@lists.sourceforge.net >> Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county >> projections / is it possible to add a custom coordinate to the status bar >> while using UTM? >> >> >> HTH, >> >> http://www.geomoose.org/geomoose2/docs/docs/projections.html >> >> >> ----- Original Message ---- >>> From: Brent Fraser >>> To: Mark Volz >>> Cc: geomoose-users@lists.sourceforge.net >>> Sent: Thursday, June 11, 2009 2:44:15 PM >>> Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county >> projections / is it possible to add a custom coordinate to the status bar >> while using UTM? >>> Mark, >>> >>> I think you're on the right track. I see that the std GeoMoose.html does >>> >>> >>> >>> at line 52. Perhaps the CountyProjection = new >>> OpenLayers.Projection('EPSG127083'); does a look-up ? >>> Maybe you need to make a proj4js/lib/defs/EPSG127083.js? >>> >>> Brent >>> >>> >>> >>> Mark Volz wrote: >>>> Brent, >>>> >>>> >>>> >>>> I took a look at trying to get custom coordinates to display on a UTM >>>> map by modifying the compiled.js file. It appears that openlayers >>>> handles work for converting the coordinates. I do not know how >>>> difficult it would be to add the township and range to the status bar. >>>> >>>> >>>> >>>> Attached below are the lines that I modified to try to get our >>>> coordinates to dsiplay. The code returns an error at line 1600 stating: >>>> CountyProjection is not defined. I am defining the CountyProjection on >>>> line 1551 however I wonder if OpenLayers is unable to find my custom >>>> projection. Any thoughts would be helpful. >>>> >>>> / / >>>> >>>> >>>> >>>> Line 43 >>>> >>>> 'coordinate_display' : { >>>> >>>> xy: true, /* Ground Units */ >>>> >>>> latlon: true, /* Longitude and Latitude */ >>>> >>>> usng: true, /* U.S. National Grid */ >>>> >>>> *county: true /* County Projection */* >>>> >>>> }, >>>> >>>> >>>> >>>> Line 738 >>>> >>>> 'coordinate_display' : { >>>> >>>> xy: true, /* Ground Units */ >>>> >>>> latlon: true, /* Longitude and Latitude */ >>>> >>>> usng: true, /* U.S. National Grid */ >>>> >>>> *county: true /* County Projection test*/* >>>> >>>> }, >>>> >>>> Line 1550 >>>> >>>> LatLongProjection = new OpenLayers.Projection('WGS84'); >>>> >>>> *CountyProjection = new OpenLayers.Projection('EPSG127083');* >>>> >>>> >>>> >>>> Line 1580 >>>> >>>> OpenLayers.Projection.transform(degrees, >>>> >>>> Map.getProjectionObject(), >>>> >>>> LatLongProjection); >>>> >>>> >>>> >>>> if(CONFIGURATION.coordinate_display.latlon) { >>>> >>>> html += 'Lat, Lon: '; >>>> >>>> html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3); >>>> >>>> } >>>> >>>> * OpenLayers.Projection.transform(degrees, * >>>> >>>> * Map.getProjectionObject(),* >>>> >>>> * CountyProjection);* >>>> >>>> * * >>>> >>>> * if(CONFIGURATION.coordinate_display.county) {* >>>> >>>> * html += 'X, Y: ';* >>>> >>>> * html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3);* >>>> >>>> } >>>> >>>> >>>> >>>> Line 3560 >>>> >>>> >>>> >>>> if(this.xml.getAttribute('reproject')) { >>>> >>>> var new_proj = this.xml.getAttribute('reproject'); >>>> >>>> if(new_proj == 'EPSG:4326' || new_proj == 'WGS84') { >>>> >>>> dest_proj = LatLongProjection; >>>> >>>> } *else if(new_proj == 'EPSG127083') {* >>>> >>>> * dest_proj = CountyProjection; * >>>> >>>> *}* else { >>>> >>>> dest_proj = OpenLayers.Projection(new_proj); >>>> >>>> } >>>> >>>> >>>> >>>> OpenLayers.Projection.transform(f.geometry, >>>> >>>> Map.getProjectionObject(), >>>> >>>> dest_proj); >>>> >>>> } >>>> >>>> >>>> >>>> var input = Catalog.createElement('input'); >>>> >>>> input.setAttribute('name', stepName); >>>> >>>> >> input.appendChild(Catalog.createCDATASection(output.write(f))); >>>> this.xml.appendChild(input); >>>> >>>> >>>> Mark Volz >>>> >>>> GIS Specialist >>>> >>>> Lyon County, MN >>>> >>>> (507) 532-8218 >>>> >>>> >>>> >>>> -----Original Message----- >>>> From: Brent Fraser [mailto:bfraser@geoanalytic.com] >>>> Sent: Thursday, June 11, 2009 1:19 PM >>>> To: Mark Volz >>>> Cc: geomoose-users@lists.sourceforge.net >>>> Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county >>>> projections / is it possible to add a custom coordinate to the status >>>> bar while using UTM? >>>> >>>> >>>> >>>> Mark, >>>> >>>> >>>> >>>> I haven't looked at the tiling so I can't comment on the performance >>>> issue. >>>> >>>> >>>> >>>> As for the coordinate display, I see that stock GeoMoose v2.0 now >>>> allows for three simultaneous coordinate displays: >>>> >>>> - projected X/Y >>>> >>>> - geographic Lat/Lon >>>> >>>> - USNG >>>> >>>> >>>> >>>> It would be nice if it was instead a flexible list of any number of >>>> reference systems that took lat/lon as input and returned a string to be >>>> displayed. >>>> >>>> >>>> >>>> I'm interested in displaying Township/Range values for example, so I'd >>>> have to write the JavaScript to do the conversion, but it would be nice >>>> to be able to easily plug it in stock GeoMoose somewhere, similar to the >>>> way custom projections work in v1.6.1. >>>> >>>> >>>> >>>> Brent Fraser >>>> >>>> >>>> >>>> Mark Volz wrote: >>>> >>>>> Hello, >>>>> Our users want to use county projections within our mapping >>>>> application. In GM 1.6.1 We decided that there was only a minimal >>>>> performance hit for the LMIC WMS service(s) to reproject on the fly. >>>>> This is not true in GM 2.0. GM 2.0 allows users the option of using a >>>>> tile scheme on the WMS layers. I was impressed with the speed of the >>>>> WMS services on the demo. Recently I ported the GM 2.0 demo over into >>>>> county projections. I noticed there is a *huge *performance hit if >>>>> tiling is turned on. >>>>> This left me with a couple options: 1) I can leave the tiling system >>>>> off, and the WMS performance would be similar to that of a 1.6 app. 2) >>>>> I can abandon the county projection in favor of utm so that I can use >>>>> tile cache and hope that no one complains too much that the map is no >>>>> longer in county coordinates. >>>>> Another thought I had is if I decided to use UTM (to take advantage of >>>>> tiling) would it be possible for me to display the XY location in >> county >>>>> coordinates? If so, does anyone know what file(s) would need to be >>>>> modified so that I can display county coordinates in the status bar? >>>>> Thanks >>>>> Mark Volz >>>>> GIS Specialist >>>>> Lyon County, MN >> ------------------------------------------------------------------------ >> ----------------------------------------------------------------------------- >> - >>>>> Crystal Reports - New Free Runtime and 30 Day Trial >>>>> Check out the new simplified licensing option that enables unlimited >>>>> royalty-free distribution of the report engine for externally facing >>>>> server and web deployment. >>>>> http://p.sf.net/sfu/businessobjects >> ------------------------------------------------------------------------ >>>>> _______________________________________________ >>>>> Geomoose-users mailing list >>>>> Geomoose-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/geomoose-users >>> >> ----------------------------------------------------------------------------- >> - >>> Crystal Reports - New Free Runtime and 30 Day Trial >>> Check out the new simplified licensing option that enables unlimited >>> royalty-free distribution of the report engine for externally facing >>> server and web deployment. >>> http://p.sf.net/sfu/businessobjects >>> _______________________________________________ >>> Geomoose-users mailing list >>> Geomoose-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/geomoose-users > > > > > > ------------------------------------------------------------------------------ > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensing option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users > From danlittle at yahoo.com Fri Jun 12 13:47:16 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? In-Reply-To: <4A326685.1090100@geoanalytic.com> References: <3D56274B4A7874468F58FADDBFD09801076EB976@llmhs02.r8nssis.local> <4A314A9A.30300@geoanalytic.com> <3D56274B4A7874468F58FADDBFD09801076EBE12@llmhs02.r8nssis.local> <4A315E8F.7060101@geoanalytic.com> <889983.8479.qm@web51408.mail.re2.yahoo.com> <3D56274B4A7874468F58FADDBFD09801076EBE6E@llmhs02.r8nssis.local> <524490.75830.qm@web51402.mail.re2.yahoo.com> <4A326685.1090100@geoanalytic.com> Message-ID: <613803.37478.qm@web51401.mail.re2.yahoo.com> Yes. I actually wrote an addition to the OL WMS Layer to make that work. There's still some fine tuning to happen, and, people need to keep in mind that the rectification on the image may not be perfectly aligned with the county coordinates due to some of the shifts that occur when changing projections. That disclaimer in mind, Minnesota County Coordinates seem to line up pretty cleanly with a UTM-15 Aerial photo. ----- Original Message ---- > From: Brent Fraser > To: Dan Little > Cc: GeoMOOSE Users List > Sent: Friday, June 12, 2009 9:30:29 AM > Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county projections / is it possible to add a custom coordinate to the status bar while using UTM? > > Dan, > > So is OpenLayers doing the re-projection of the WMS image on the client? Wow! > > Brent > > Dan Little wrote: > > http://www.geomoose.org/geomoose2/docs/howto/wms_project.html > > > > This allows a service to be in a different projection than the Main map with > no mapserver reprojection. However, it is currently broken with tiles. It's > something I have to fix. Maybe tonight, maybe this weekend, maybe early next > week. I'm really ho > > ping to round out the GM2.0 documentation and make an official release. > > > > -Duck > > > > > > ----- Original Message ---- > >> From: Mark Volz > >> To: Dan Little > >> Sent: Thursday, June 11, 2009 3:10:22 PM > >> Subject: RE: [Geomoose-users] GM 2.0- tiling performance in county > projections / is it possible to add a custom coordinate to the status bar while > using UTM? > >> > >> Dan, > >> > >> I noticed your reply. I was able to get the map projection and display > >> coordinates in Lyon County format. However when I did so what happened was > >> that the performance of GM slowed way down when I was using tiles in county > >> coordinates. I do realize that I can turn tiles off, However what I would > >> really like to do is have the best of both worlds: keep the actual map in > >> UTM-15 which allows me to use tiling without reprojecting (ie fast) while > >> having the status bar display XY in county coordinates so that county > >> coordinate users stay happy. > >> > >> > >> Mark Volz > >> GIS Specialist > >> Lyon County, MN > >> (507) 532-8218 > >> > >> -----Original Message----- > >> From: Dan Little [mailto:danlittle@yahoo.com] Sent: Thursday, June 11, 2009 > 2:47 PM > >> To: Brent Fraser; Mark Volz > >> Cc: geomoose-users@lists.sourceforge.net > >> Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > >> projections / is it possible to add a custom coordinate to the status bar > >> while using UTM? > >> > >> > >> HTH, > >> > >> http://www.geomoose.org/geomoose2/docs/docs/projections.html > >> > >> > >> ----- Original Message ---- > >>> From: Brent Fraser To: Mark Volz Cc: geomoose-users@lists.sourceforge.net > >>> Sent: Thursday, June 11, 2009 2:44:15 PM > >>> Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > >> projections / is it possible to add a custom coordinate to the status bar > >> while using UTM? > >>> Mark, > >>> > >>> I think you're on the right track. I see that the std GeoMoose.html does > >>> > >>> > >>> at line 52. Perhaps the CountyProjection = new > OpenLayers.Projection('EPSG127083'); does a look-up ? > >>> Maybe you need to make a proj4js/lib/defs/EPSG127083.js? > >>> > >>> Brent > >>> > >>> > >>> > >>> Mark Volz wrote: > >>>> Brent, > >>>> > >>>> > >>>> I took a look at trying to get custom coordinates to display on a UTM map > by modifying the compiled.js file. It appears that openlayers handles work for > converting the coordinates. I do not know how difficult it would be to add the > township and range to the status bar. > >>>> > >>>> > >>>> Attached below are the lines that I modified to try to get our coordinates > to dsiplay. The code returns an error at line 1600 stating: CountyProjection is > not defined. I am defining the CountyProjection on line 1551 however I wonder > if OpenLayers is unable to find my custom projection. Any thoughts would be > helpful. > >>>> > >>>> / / > >>>> > >>>> > >>>> Line 43 > >>>> > >>>> 'coordinate_display' : { > >>>> > >>>> xy: true, /* Ground Units */ > >>>> > >>>> latlon: true, /* Longitude and Latitude */ > >>>> > >>>> usng: true, /* U.S. National Grid */ > >>>> > >>>> *county: true /* County Projection */* > >>>> > >>>> }, > >>>> > >>>> > >>>> Line 738 > >>>> > >>>> 'coordinate_display' : { > >>>> > >>>> xy: true, /* Ground Units */ > >>>> > >>>> latlon: true, /* Longitude and Latitude */ > >>>> > >>>> usng: true, /* U.S. National Grid */ > >>>> > >>>> *county: true /* County Projection test*/* > >>>> > >>>> }, > >>>> > >>>> Line 1550 > >>>> > >>>> LatLongProjection = new OpenLayers.Projection('WGS84'); > >>>> > >>>> *CountyProjection = new OpenLayers.Projection('EPSG127083');* > >>>> > >>>> > >>>> Line 1580 > >>>> > >>>> OpenLayers.Projection.transform(degrees, > >>>> > >>>> Map.getProjectionObject(), > >>>> > >>>> LatLongProjection); > >>>> > >>>> > >>>> if(CONFIGURATION.coordinate_display.latlon) { > >>>> > >>>> html += 'Lat, Lon: '; > >>>> > >>>> html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3); > >>>> > >>>> } > >>>> > >>>> * OpenLayers.Projection.transform(degrees, * > >>>> > >>>> * Map.getProjectionObject(),* > >>>> > >>>> * CountyProjection);* > >>>> > >>>> * * > >>>> > >>>> * if(CONFIGURATION.coordinate_display.county) {* > >>>> > >>>> * html += 'X, Y: ';* > >>>> > >>>> * html += degrees.x.toFixed(3) + ', ' + degrees.y.toFixed(3);* > >>>> > >>>> } > >>>> > >>>> > >>>> Line 3560 > >>>> > >>>> > >>>> if(this.xml.getAttribute('reproject')) { > >>>> > >>>> var new_proj = this.xml.getAttribute('reproject'); > >>>> > >>>> if(new_proj == 'EPSG:4326' || new_proj == 'WGS84') { > >>>> > >>>> dest_proj = LatLongProjection; > >>>> > >>>> } *else if(new_proj == 'EPSG127083') {* > >>>> > >>>> * dest_proj = CountyProjection; * > >>>> > >>>> *}* else { > >>>> > >>>> dest_proj = OpenLayers.Projection(new_proj); > >>>> > >>>> } > >>>> > >>>> > >>>> OpenLayers.Projection.transform(f.geometry, > >>>> > >>>> Map.getProjectionObject(), > >>>> > >>>> dest_proj); > >>>> > >>>> } > >>>> > >>>> > >>>> var input = Catalog.createElement('input'); > >>>> > >>>> input.setAttribute('name', stepName); > >>>> > >>>> > >> input.appendChild(Catalog.createCDATASection(output.write(f))); > >>>> this.xml.appendChild(input); > >>>> > >>>> > >>>> Mark Volz > >>>> > >>>> GIS Specialist > >>>> > >>>> Lyon County, MN > >>>> > >>>> (507) 532-8218 > >>>> > >>>> > >>>> -----Original Message----- > >>>> From: Brent Fraser [mailto:bfraser@geoanalytic.com] > >>>> Sent: Thursday, June 11, 2009 1:19 PM > >>>> To: Mark Volz > >>>> Cc: geomoose-users@lists.sourceforge.net > >>>> Subject: Re: [Geomoose-users] GM 2.0- tiling performance in county > projections / is it possible to add a custom coordinate to the status bar while > using UTM? > >>>> > >>>> > >>>> Mark, > >>>> > >>>> > >>>> I haven't looked at the tiling so I can't comment on the performance > issue. > >>>> > >>>> > >>>> As for the coordinate display, I see that stock GeoMoose v2.0 now allows > for three simultaneous coordinate displays: > >>>> > >>>> - projected X/Y > >>>> > >>>> - geographic Lat/Lon > >>>> > >>>> - USNG > >>>> > >>>> > >>>> It would be nice if it was instead a flexible list of any number of > reference systems that took lat/lon as input and returned a string to be > displayed. > >>>> > >>>> I'm interested in displaying Township/Range values for example, so I'd > have to write the JavaScript to do the conversion, but it would be nice to be > able to easily plug it in stock GeoMoose somewhere, similar to the way custom > projections work in v1.6.1. > >>>> > >>>> > >>>> Brent Fraser > >>>> > >>>> > >>>> Mark Volz wrote: > >>>> > >>>>> Hello, > >>>>> Our users want to use county projections within our mapping > >>>>> application. In GM 1.6.1 We decided that there was only a minimal > >>>>> performance hit for the LMIC WMS service(s) to reproject on the fly. > This is not true in GM 2.0. GM 2.0 allows users the option of using a > >>>>> tile scheme on the WMS layers. I was impressed with the speed of the > >>>>> WMS services on the demo. Recently I ported the GM 2.0 demo over into > >>>>> county projections. I noticed there is a *huge *performance hit if > >>>>> tiling is turned on. > >>>>> This left me with a couple options: 1) I can leave the tiling system > >>>>> off, and the WMS performance would be similar to that of a 1.6 app. 2) > >>>>> I can abandon the county projection in favor of utm so that I can use > >>>>> tile cache and hope that no one complains too much that the map is no > >>>>> longer in county coordinates. > >>>>> Another thought I had is if I decided to use UTM (to take advantage of > >>>>> tiling) would it be possible for me to display the XY location in > >> county > >>>>> coordinates? If so, does anyone know what file(s) would need to be > >>>>> modified so that I can display county coordinates in the status bar? > >>>>> Thanks > >>>>> Mark Volz > >>>>> GIS Specialist > >>>>> Lyon County, MN > >> ------------------------------------------------------------------------ > >> ----------------------------------------------------------------------------- > >> - > >>>>> Crystal Reports - New Free Runtime and 30 Day Trial > >>>>> Check out the new simplified licensing option that enables unlimited > >>>>> royalty-free distribution of the report engine for externally facing > >>>>> server and web deployment. > >>>>> http://p.sf.net/sfu/businessobjects > >> ------------------------------------------------------------------------ > >>>>> _______________________________________________ > >>>>> Geomoose-users mailing list > >>>>> Geomoose-users@lists.sourceforge.net > >>>>> https://lists.sourceforge.net/lists/listinfo/geomoose-users > >>> > >> ----------------------------------------------------------------------------- > >> - > >>> Crystal Reports - New Free Runtime and 30 Day Trial > >>> Check out the new simplified licensing option that enables unlimited > >>> royalty-free distribution of the report engine for externally facing server > and web deployment. > >>> http://p.sf.net/sfu/businessobjects > >>> _______________________________________________ > >>> Geomoose-users mailing list > >>> Geomoose-users@lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/geomoose-users > > > > > > > > > > ------------------------------------------------------------------------------ > > Crystal Reports - New Free Runtime and 30 Day Trial > > Check out the new simplified licensing option that enables unlimited > > royalty-free distribution of the report engine for externally facing server > and web deployment. > > http://p.sf.net/sfu/businessobjects > > _______________________________________________ > > Geomoose-users mailing list > > Geomoose-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/geomoose-users > > From camhunterz at gmail.com Wed Jun 17 22:50:00 2009 From: camhunterz at gmail.com (Rano Hartanto) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] How To Modification geoMOOSE.. Message-ID: <000001c9efbf$7cfb3640$76f1a2c0$@com> I wanna ask, please help me.. How to modification this package? I Wanna use this template for My Project, but I still no Understand to edit this package.. I have used to package Gmap, but Its more difficult.. Please help me.. Thanks a lot for your help.. give me tutor modification this template.. I used GeoMOOSE for MS4W.. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090618/08820559/attachment.html From bfraser at geoanalytic.com Mon Jun 22 12:49:08 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] Select Info to a new window - A solution and a tip In-Reply-To: <4A240603.10507@geoanalytic.com> References: <4A1D6BBC.7000507@geoanalytic.com> <313700.17915.qm@web51407.mail.re2.yahoo.com> <4A1EBD78.1000809@geoanalytic.com> <4A1EE263.8080408@geoanalytic.com> <4A200641.2030307@geoanalytic.com> <4A240603.10507@geoanalytic.com> Message-ID: <4A3FB604.6010903@geoanalytic.com> To All, One very serious limitation to the solution below is that highlighting the selected features will no longer work. The stock select.php's output options (xml, html) write out xml to populate the GM's "highlight" layer definition (just before the nicely formated html); something like: select.map : : So writing it to a new window (or not writing it at all via "bare-html" below), will cause the features not to be highlighted. I'm not sure what the solution is; have the callService function somehow read the XML delivered to the new window? Or have some Javascript in the new window call a function in GM to set the highlight info? And by the way, it seems my formating problem was the print ""; surrounding the print $template; Commenting those out restored the formating and didn't seem to break the highlighting. So that leaves the XML problem... Brent Fraser Brent Fraser wrote: > To all, > > A solution: > ----------- > Following Dan's suggestion I edited the select.php to include: > > } elseif($output == 'bare-html') { > header('Content-type: text/html'); > print "\n"; > print ""; > print ""; > print $template; > print ""; > print ""; > > and added display="window" to my "select Feature" service attributes in my application's xml config file: > as well as changing the output type: > > > And a tip: > ---------- > To get the results sent to the same window on each select operation (instead of separate windows being created each time), I added target="MySelection" to the service attributes: > > The value can be anything, it just needs to be a named target. > > Brent Fraser > > Brent Fraser wrote: >> I had a look at the HTML generated by the SELECT service (not the IDENTIFY): >> >> >> >> >> ../../TopoCan/select.map > : >> : >> >> It doesn't render very well when sent to a new window (using the display="window" tag in the Select service.) >> >> Any thoughts on how to fix this? >> >> Thanks! >> Brent >> >> >> Brent Fraser wrote: >>> Brian, >>> >>> I just found the display tag while sifting thru ServiceManager.js It seems to work ok for Identify, but for Select it opens a new window and prints the value of the map tag, e.g: >>> >>> ./select.map >>> >>> strange... >>> >>> Many Thanks! >>> Brent >>> >>> Brian Fischer wrote: >>>> Brent, >>>> This use to work, but haven't tried it in a while. You could set the display attribute of the service tag to display="window" and it would pop the results up in a new window. Give that a try. Here is the documentation we wrote on it: >>>> http://www.geomoose.org/moose/index.php?option=com_content&task=view&id=14&Itemid=29 Look at the display attribute under section. >>>> >>>> Also I had Dan write a little custom feature for me to create a link to open the results tab up in a new window so users could print it. I think he mainly did it with some JavaScript and CSS. Here is the app that is doing that. http://klamathcount > y >> . >>> houstoneng.com/klamathmap/klamathmap.html Select some parcels with the mailing labels tool or Identify tool then click on the "Print Info. Tab" in the menubar. >>>> Hope this helps, >>>> Brian >>>> >>>> Brian Fischer, CFM GIS Project Manager >>>> Houston Engineering, Inc. >>>> Phone: W: 763.493.4522 / M: 763.229.2734 >>>> >>>> -----Original Message----- >>>> From: Brent Fraser [mailto:bfraser@geoanalytic.com] >>>> Sent: Thursday, May 28, 2009 11:36 AM >>>> To: Dan Little >>>> Cc: GeoMOOSE Users List >>>> Subject: Re: [Geomoose-users] Info from Select to a new window? >>>> >>>> Dan, >>>> >>>> I'm using V1.6.1. >>>> >>>> It looks like the target of the html/text generated by select.php is set around line 488 in ServiceManager.js (of course I could be totally out-to-lunch as my JavaScript is weak): >>>> >>>> } else if(returnType.match(/text/i) || contentType.match(/plain/i)){ // Plain Text Return >>>> var results = document.getElementById('content_results_form'); >>>> var text = http.responseText; >>>> if(!(text.match(/\>>> text = text.replace(/\n/g,'
\n'); >>>> text = ''+text+''; >>>> } >>>> results.innerHTML = text; >>>> EventManager.triggerEvent('changetab',TABS_RESULTS_NAME); >>>> } else if(returnType.match(/csv/i) || contentType.match(/csv/i)) { // CSV return type >>>> >>>> >>>> perhaps if do something like: >>>> var win = window.open("", "Results", "width=100, height=100, scrollbars=yes" ); >>>> var results2 = win.document.body; >>>> results2.innerHTML = text; >>>> >>>> Any thoughts on that? >>>> >>>> >>>> Thanks! >>>> Brent >>>> >>>> Dan Little wrote: >>>>> 1.6 or 2.0? >>>>> >>>>> >>>>> >>>>> ----- Original Message ---- >>>>>> From: Brent Fraser >>>>>> To: GeoMOOSE Users List >>>>>> Sent: Wednesday, May 27, 2009 11:35:08 AM >>>>>> Subject: [Geomoose-users] Info from Select to a new window? >>>>>> >>>>>> I'd like to send the attribute information of my selected features to a new >>>>>> browser window instead of the Information tab. What's a good way to do this? >>>>>> >>>>>> Thanks! >>>>>> Brent Fraser From danlittle at yahoo.com Wed Jun 24 07:30:12 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:08 2011 Subject: [Geomoose-users] How To Modification geoMOOSE.. In-Reply-To: <39b6e67c0906200147q66469a29k9e344b99f54dd9ed@mail.gmail.com> References: <187067.40389.qm@web51412.mail.re2.yahoo.com> <39b6e67c0906200147q66469a29k9e344b99f54dd9ed@mail.gmail.com> Message-ID: <225384.91258.qm@web51405.mail.re2.yahoo.com> We actually have quite a bit of documentation on the website, and a number of how-to's. http://www.geomoose.org/moose/index.php?option=com_content&task=category§ionid=4&id=15&Itemid=28 http://www.geomoose.org/moose/index.php?option=com_content&task=category§ionid=4&id=14&Itemid=29 ________________________________ From: Rano Hartanto To: Dan Little Sent: Saturday, June 20, 2009 3:47:48 AM Subject: Re: [Geomoose-users] How To Modification geoMOOSE.. I would like to edit this template. eg: how do I enter a map, and how to change the layer to the right (which file can I edit?) Or Could you give me a tutor for How to edit this template step by step to solve my Problem? Thank a Lot... 2009/6/20 Dan Little Rano, Can you be a bit more specific as to what you would like to change or add? On Jun 17, 2009, at 22:50, "Rano Hartanto" wrote: I wanna ask, please help me.. How to modification this package? I Wanna use this template for My Project, but I still no Understand to edit this package.. I have used to package Gmap, but Its more difficult.. Please help me.. Thanks a lot for your help.. give me tutor modification this template.. I used GeoMOOSE for MS4W.. ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Geomoose-users mailing list Geomoose-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geomoose-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090624/c7011dfe/attachment.html From coffee at uni-bonn.de Thu Jun 25 03:48:55 2009 From: coffee at uni-bonn.de (CoFIS Web) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Legend issue Message-ID: <4A432BE7.4000402@uni-bonn.de> Dear all, in GM2 I have a mapfile with two layers. When turning the first of these layers on from the legend, the respective signature will appear in the legend at its respective location (as expected) AND the location of the second layer. When turning the second layer on, its signature will appear on its respective location in the legend (as expected) AND be added to the legend signature of the first layer (not wanted). How can I change this? I added two screenshots for clarification. Mapbook snippets are below. Thanks, Nils **** ./conservation.map -- Center for Development Research Department of Ecology and Resource Management Walter-Flex-Strasse 3 53113 Bonn (Germany) Tel.: +49 (0) 228 - 73-1793 FAX: +49 (0) 228 - 73-1889 E-Mail: coffee@uni-bonn.de Web: http://www.cofis.info/atlas http://www.coffee.uni-bonn.de -------------- next part -------------- A non-text attachment was scrubbed... Name: one-layer.png Type: image/png Size: 47603 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090625/cf615c25/one-layer.png -------------- next part -------------- A non-text attachment was scrubbed... Name: two-layers.png Type: image/png Size: 64346 bytes Desc: not available Url : http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090625/cf615c25/two-layers.png From coffee at uni-bonn.de Thu Jun 25 05:43:40 2009 From: coffee at uni-bonn.de (CoFIS Web) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] How to define icons for services Message-ID: <4A4346CC.9080707@uni-bonn.de> Dear all, I want to add a custom service (uploading shape files into a PostGIS database). How can I define a specific icon for the toolbar? Thank you, Nils -- Center for Development Research Department of Ecology and Resource Management Walter-Flex-Strasse 3 53113 Bonn (Germany) Tel.: +49 (0) 228 - 73-1793 FAX: +49 (0) 228 - 73-1889 E-Mail: coffee@uni-bonn.de Web: http://www.cofis.info/atlas http://www.coffee.uni-bonn.de From jkapalczynski at ci.maple-grove.mn.us Thu Jun 25 13:11:07 2009 From: jkapalczynski at ci.maple-grove.mn.us (Jay Kapalczynski) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Turn off Layer If another turns on Message-ID: I was wondering If anyone has done this before. I am looking to turn off one or more layers if another is turned on. I want Parks and Lakes to turn off if the user turns on the aerials... Any examples? Thanks Jay -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090625/ab0ce702/attachment.html From awhitley at charter.net Thu Jun 25 20:52:31 2009 From: awhitley at charter.net (awhitley@charter.net) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Layers not populating to map Message-ID: <20090625205231.MZ1NO.877965.root@mp15> My original layers were in State Plane and I transformed to UTM 15 via Arcview; adding my layers to map and zooming to the layers via 'Jump To' - my layers are not showing up and I'm uncertain if its a coordinate system problem or simply a symbology problem; If someone wouldn't mind giving me some quick insight. My map file: MAP NAME 'cities' SIZE 800 650 STATON ON EXTENT 1015135.214413 3420107.844384 1820603.830929 3927775.837035 UNITS METERS FONTSET '../fonts/fontset.list' SYMBOLSET '../symbols/symbol.sym' TRANSPARENT TRUE IMAGETYPE PNG QUERYMAP STATUS ON STYLE SELECTED END WEB INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map" END LEGEND STATUS ON END LAYER NAME 'ga_cities' TYPE POLYGON DATA './ga_cities.shp' STATUS DEFAULT TYPE POLYGONS MIINSCALE 20000 SYMBOLSCALE 200000 CLASS NAME 'Cities' STYLE SYMBOL 'Polygon' SIZE 3 COLOR 64 255 100 END LABEL TYPE TRUETYPE FONT vera_sans SIZE 8 ANTIALIAS TRUE COLOR 0 0 0 OUTLINECOLOR 254 254 254 BUFFER 4 MINFEATURESIZE auto PARTIALS FALSE POSITION cc END END END ## end Map From bfraser at geoanalytic.com Thu Jun 25 21:45:11 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Layers not populating to map In-Reply-To: <20090625205231.MZ1NO.877965.root@mp15> References: <20090625205231.MZ1NO.877965.root@mp15> Message-ID: <.174.0.228.164.1245980711.squirrel@174.0.228.164> The Jump-To function uses projected coordinates. Change them to be UTM Zone 15 instead of State Plane (they're in your site's config.js) Best Regards, Brent Fraser > My original layers were in State Plane and I transformed to UTM 15 via > Arcview; adding my layers to map and zooming to the layers via 'Jump To' - > my layers are not showing up and I'm uncertain if its a coordinate system > problem or simply a symbology problem; > > If someone wouldn't mind giving me some quick insight. > > My map file: > > MAP > NAME 'cities' > SIZE 800 650 > STATON ON > EXTENT 1015135.214413 3420107.844384 1820603.830929 3927775.837035 > UNITS METERS > FONTSET '../fonts/fontset.list' > SYMBOLSET '../symbols/symbol.sym' > TRANSPARENT TRUE > IMAGETYPE PNG > > QUERYMAP > STATUS ON > STYLE SELECTED > END > > WEB > INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map" > END > > LEGEND > STATUS ON > END > > > LAYER > NAME 'ga_cities' > TYPE POLYGON > DATA './ga_cities.shp' > STATUS DEFAULT > TYPE POLYGONS > MIINSCALE 20000 > SYMBOLSCALE 200000 > CLASS > NAME 'Cities' > STYLE > SYMBOL 'Polygon' > SIZE 3 > COLOR 64 255 100 > END > LABEL > TYPE TRUETYPE > FONT vera_sans > SIZE 8 > ANTIALIAS TRUE > COLOR 0 0 0 > OUTLINECOLOR 254 254 254 > BUFFER 4 > MINFEATURESIZE auto > PARTIALS FALSE > POSITION cc > END > END > > > END ## end Map > > ------------------------------------------------------------------------------ > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users > From awhitley at charter.net Fri Jun 26 10:03:41 2009 From: awhitley at charter.net (awhitley@charter.net) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Layers still not populating Message-ID: <20090626100341.MHPUY.884449.root@mp14> Still looking for some insight; I am certain the coordinates on the shapefile are in NA83 UTM Zone 15 N - epsg 26915. I even brought the data in Quantum GIS and produced a mapfile from the Mapserver Export plugin just to see what extent it was showing my data in. My test data (ga_firestations2.shp) is residing in the countydata folder along with the mapfile. I verified the configuration.js (countyconfiguration.js) and the extent is set to the same as mapfile. Mapfile: MAP NAME 'firestations' SIZE 800 650 STATUS ON EXTENT 1311606.064490 3765485.899332 1475727.003496 3868927.480976 PROJECTION "init=epsg:26915" UNITS METERS FONTSET '../fonts/fontset.list' SYMBOLSET '../symbols/symbol.sym' TRANSPARENT TRUE IMAGETYPE PNG QUERYMAP STATUS ON STYLE SELECTED END WEB QUERYFORMAT "text/xml" INCLUDE "../temp_directory.map" END LEGEND STATUS ON END LAYER NAME 'Firestations' DATA './ga_firestations2.shp' STATUS DEFAULT TYPE POINT STATUS DEFAULT LABELITEM 'NAME' LABELMAXSCALE 20000 CLASS NAME 'Firestations' COLOR 255 0 0 SYMBOL "square" SIZE 12 END HEADER 'imagemap_header.xml' TEMPLATE 'imagemap_record.xml' FOOTER 'imagemap_footer.xml' END END ## end Map From danlittle at yahoo.com Fri Jun 26 10:08:46 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Layers still not populating In-Reply-To: <20090626100341.MHPUY.884449.root@mp14> References: <20090626100341.MHPUY.884449.root@mp14> Message-ID: <508248.33000.qm@web51409.mail.re2.yahoo.com> Do you happen to have access to firebug and/or Firefox? ----- Original Message ---- > From: "awhitley@charter.net" > To: geomoose-users@lists.sourceforge.net > Sent: Friday, June 26, 2009 9:03:41 AM > Subject: [Geomoose-users] Layers still not populating > > Still looking for some insight; I am certain the coordinates on the shapefile > are in > NA83 UTM Zone 15 N - epsg 26915. > > I even brought the data in Quantum GIS and produced a mapfile from the Mapserver > Export plugin just to see what extent it was showing my data in. > > My test data (ga_firestations2.shp) is residing in the countydata folder along > with the mapfile. > > I verified the configuration.js (countyconfiguration.js) and the extent is set > to the same as mapfile. > > Mapfile: > MAP > NAME 'firestations' > SIZE 800 650 > STATUS ON > EXTENT 1311606.064490 3765485.899332 1475727.003496 3868927.480976 > PROJECTION "init=epsg:26915" > UNITS METERS > FONTSET '../fonts/fontset.list' > SYMBOLSET '../symbols/symbol.sym' > TRANSPARENT TRUE > IMAGETYPE PNG > > QUERYMAP > STATUS ON > STYLE SELECTED > END > > WEB > QUERYFORMAT "text/xml" > INCLUDE "../temp_directory.map" > END > > LEGEND > STATUS ON > END > > LAYER > NAME 'Firestations' > DATA './ga_firestations2.shp' > STATUS DEFAULT > TYPE POINT > STATUS DEFAULT > LABELITEM 'NAME' > LABELMAXSCALE 20000 > CLASS > NAME 'Firestations' > COLOR 255 0 0 > SYMBOL "square" > SIZE 12 > END > HEADER 'imagemap_header.xml' > TEMPLATE 'imagemap_record.xml' > FOOTER 'imagemap_footer.xml' > END > > END ## end Map > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users From bfraser at geoanalytic.com Fri Jun 26 10:43:07 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Layers still not populating In-Reply-To: <20090626100341.MHPUY.884449.root@mp14> References: <20090626100341.MHPUY.884449.root@mp14> Message-ID: <4A44DE7B.3000503@geoanalytic.com> >From the map file below you give below, I assume your data is in UTM-15 (since there is no PROJECTION object in the LAYER) so mapserver should render it ok. You need to ensure the following is set: 1. In your _configuration.js: var INITIAL_VIEW = '1311606.064490,3765485.899332,1475727.003496,3868927.480976'; var VIEWS = { 'Jump To:' : { 'Initial View' : '1311606.064490,3765485.899332,1475727.003496,3868927.480976' } }; var MAP_COORDINATE_SYSTEM = 'UTM-15'; 2. And possibly in your .xml One thing you could try is running the mapserver command line program "shp2img" (it's in \ms4w\Apache\cgi-bin): shp2img - all_debug 5 -m mymapfile.map -o test.png and have a look at the messages it spits out (and the image it produces). Best Regards, Brent Fraser awhitley@charter.net wrote: > Still looking for some insight; I am certain the coordinates on the shapefile are in > NA83 UTM Zone 15 N - epsg 26915. > > I even brought the data in Quantum GIS and produced a mapfile from the Mapserver Export plugin just to see what extent it was showing my data in. > > My test data (ga_firestations2.shp) is residing in the countydata folder along with the mapfile. > > I verified the configuration.js (countyconfiguration.js) and the extent is set to the same as mapfile. > > Mapfile: > MAP > NAME 'firestations' > SIZE 800 650 > STATUS ON > EXTENT 1311606.064490 3765485.899332 1475727.003496 3868927.480976 > PROJECTION "init=epsg:26915" > UNITS METERS > FONTSET '../fonts/fontset.list' > SYMBOLSET '../symbols/symbol.sym' > TRANSPARENT TRUE > IMAGETYPE PNG > > QUERYMAP > STATUS ON > STYLE SELECTED > END > > WEB > QUERYFORMAT "text/xml" > INCLUDE "../temp_directory.map" > END > > LEGEND > STATUS ON > END > > LAYER > NAME 'Firestations' > DATA './ga_firestations2.shp' > STATUS DEFAULT > TYPE POINT > STATUS DEFAULT > LABELITEM 'NAME' > LABELMAXSCALE 20000 > CLASS > NAME 'Firestations' > COLOR 255 0 0 > SYMBOL "square" > SIZE 12 > END > HEADER 'imagemap_header.xml' > TEMPLATE 'imagemap_record.xml' > FOOTER 'imagemap_footer.xml' > END > > END ## end Map > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users > From awhitley at charter.net Sun Jun 28 13:20:42 2009 From: awhitley at charter.net (awhitley@charter.net) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Identifying layers problem Message-ID: <20090628132042.UUDDC.971969.root@mp08> Hi all, Another beginner's question; this one regarding identifying layers on the map. Per the How-to at GeoMoose site. Layer to identify Firestations 1. Created my map file Although I am confused by this insert: WEB INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map" END I dont see this config.map in statedemo folder 2. Added layer to config.xml ( i disregarded the metadata info for now) ./countydata/ga_firestations2.map 3. Support Identify Header and footer and identify_fire.ht Fire Stations Layer Name: [NAME]
ml 4. Modify identify.map LAYER NAME 'ga_firestations2' DATA 'countydata/ga_firestations2.shp' STATUS ON TYPE POINT TOLERANCE 0 TEMPLATE 'countydata/identify_fire.html' END My reoccuring error when clicking firestation to identify: msQueryByPoint(): Search returned no results. No matching record(s) found. shp2img = valid map file Sorry for long post. Tfaustino From danlittle at yahoo.com Sun Jun 28 13:34:20 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Identifying layers problem In-Reply-To: <20090628132042.UUDDC.971969.root@mp08> References: <20090628132042.UUDDC.971969.root@mp08> Message-ID: <241763.61093.qm@web51401.mail.re2.yahoo.com> The problem is with the name in the layer in the identify.map file. If the name is "Fire stations 2" in your mapbook in the identify.map the name of the layer must be "Firestations2" ----- Original Message ---- > From: "awhitley@charter.net" > To: geomoose-users: lists.sourceforge.net > Sent: Sunday, June 28, 2009 12:20:42 PM > Subject: [Geomoose-users] Identifying layers problem > > Hi all, > > Another beginner's question; this one regarding identifying layers on the map. > > Per the How-to at GeoMoose site. > > Layer to identify Firestations > > 1. Created my map file > Although I am confused by this insert: > WEB > INCLUDE "/ms4w/apps/GeoMOOSE/maps_statedemo/web_config.map" > END > I dont see this config.map in statedemo folder > > 2. Added layer to config.xml ( i disregarded the metadata info for now) > > tip="Clearinghouse data"> > ./countydata/ga_firestations2.map > > > 3. Support Identify > > Header and footer and > identify_fire.ht > Fire Stations Layer > > > Name: > [NAME] > > ________________________________ ml > > 4. Modify identify.map > > LAYER > NAME 'ga_firestations2' > DATA 'countydata/ga_firestations2.shp' > STATUS ON > TYPE POINT > TOLERANCE 0 > TEMPLATE 'countydata/identify_fire.html' > END > > My reoccuring error when clicking firestation to identify: > msQueryByPoint(): Search returned no results. No matching record(s) found. > > shp2img = valid map file > > Sorry for long post. > > Tfaustino > > > ------------------------------------------------------------------------------ > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users From abasoh at yahoo.fr Mon Jun 29 09:03:03 2009 From: abasoh at yahoo.fr (armand noel) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] how to change the width of the Layer Panel Message-ID: <356829.65258.qm@web23407.mail.ird.yahoo.com> Hi, I want to increase the width of the layer panel. I don't know witch parameter to modify. Can sommebody help me? Best Rgrds Armand Basoh, PMP -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090629/f76eb9f1/attachment.html From geomatrix3d at gmail.com Mon Jun 29 12:29:02 2009 From: geomatrix3d at gmail.com (t faustino) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Regarding Google licensing Message-ID: I read in one of the posts that addressed Birds Eye View via Virtual Earth (Bing); thanks for that by the way. I am curious, doesn't allowing map access to Google Map aerials in the same fashion conflict with Google licensing? Just curious if anyone has had any contact with the folks at Google regarding this question. Thanks in advance. Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090629/c9128cb2/attachment.html From geomatrix3d at gmail.com Mon Jun 29 15:04:35 2009 From: geomatrix3d at gmail.com (t faustino) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Select layer Message-ID: Trying to define my selectable layers, I keep getting a "./select.map" comment returned in information window rather than the attribute I specified. My layer is in the mapbook service area for Select feature. My select.map @ maps_countydemo includes my layer; LAYER # Firestations Layer NAME 'Firestations' DATA 'countydata/firestations/ga_firestations2' STATUS ON TYPE POINT METADATA qstring_validation_pattern '.' END HEADER 'countydata/firestations/select_header.html' TEMPLATE 'countydata/firestations/select_firestations.html' FOOTER 'countydata/firestations/select_footer.html' TOLERANCE 2 CLASS NAME 'Firestations' COLOR 255 0 0 SYMBOL "square" SIZE 8 END ..and I have a select_firestations.html located in the data folder: countydata/firestations/ Could someone advise what I am overlooking? Thanks in advance. Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090629/3570e0ab/attachment.html From danlittle at yahoo.com Mon Jun 29 15:08:08 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Select layer In-Reply-To: References: Message-ID: <436991.17213.qm@web51408.mail.re2.yahoo.com> I think we'll need a better description, can you attach the entire .map file and a screenshot? ________________________________ From: t faustino To: geomoose-users@lists.sourceforge.net Sent: Monday, June 29, 2009 2:04:35 PM Subject: [Geomoose-users] Select layer Trying to define my selectable layers, I keep getting a "./select.map" comment returned in information window rather than the attribute I specified. My layer is in the mapbook service area for Select feature. My select.map @ maps_countydemo includes my layer; LAYER # Firestations Layer NAME 'Firestations' DATA 'countydata/firestations/ga_firestations2' STATUS ON TYPE POINT METADATA qstring_validation_pattern '.' END HEADER 'countydata/firestations/select_header.html' TEMPLATE 'countydata/firestations/select_firestations.html' FOOTER 'countydata/firestations/select_footer.html' TOLERANCE 2 CLASS NAME 'Firestations' COLOR 255 0 0 SYMBOL "square" SIZE 8 END ..and I have a select_firestations.html located in the data folder: countydata/firestations/ Could someone advise what I am overlooking? Thanks in advance. Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090629/7f5416da/attachment.html From danlittle at yahoo.com Mon Jun 29 15:43:03 2009 From: danlittle at yahoo.com (Dan Little) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Select layer In-Reply-To: References: <436991.17213.qm@web51408.mail.re2.yahoo.com> Message-ID: <867707.80170.qm@web51409.mail.re2.yahoo.com> The screenshot is utterly unreadable. Save as a PNG next time and we'll be able to read it with a reasonable size. You have an error in your template. The templates are fairly XHTML strict... ________________________________ From: t faustino To: Dan Little Sent: Monday, June 29, 2009 2:20:05 PM Subject: Re: [Geomoose-users] Select layer Sure thing. Hope you can see the pic - had to condense for size, and thanks for the assistance. Antonio On Mon, Jun 29, 2009 at 3:08 PM, Dan Little wrote: I think we'll need a better description, can you attach the entire .map file and a screenshot? ________________________________ From: t faustino To: geomoose-users@lists.sourceforge.net Sent: Monday, June 29, 2009 2:04:35 PM Subject: [Geomoose-users] Select layer Trying to define my selectable layers, I keep getting a "./select.map" comment returned in information window rather than the attribute I specified. My layer is in the mapbook service area for Select feature. My select.map @ maps_countydemo includes my layer; LAYER # Firestations Layer NAME 'Firestations' DATA 'countydata/firestations/ga_firestations2' STATUS ON TYPE POINT METADATA qstring_validation_pattern '.' END HEADER 'countydata/firestations/select_header.html' TEMPLATE 'countydata/firestations/select_firestations.html' FOOTER 'countydata/firestations/select_footer.html' TOLERANCE 2 CLASS NAME 'Firestations' COLOR 255 0 0 SYMBOL "square" SIZE 8 END ..and I have a select_firestations.html located in the data folder: countydata/firestations/ Could someone advise what I am overlooking? Thanks in advance. Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090629/b2480a60/attachment.html From bfraser at geoanalytic.com Mon Jun 29 15:54:58 2009 From: bfraser at geoanalytic.com (Brent Fraser) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Select layer In-Reply-To: References: Message-ID: <4A491C12.9080001@geoanalytic.com> Are you displaying the results to the side panel or a separate window? Which browser are you using? t faustino wrote: > > > Trying to define my selectable layers, I keep getting a "./select.map" > comment returned in information window rather than the attribute I > specified. > > My layer is in the mapbook service area for Select feature. > > My select.map @ maps_countydemo includes my layer; > > LAYER # Firestations Layer > NAME 'Firestations' > DATA 'countydata/firestations/ga_firestations2' > STATUS ON > TYPE POINT > METADATA > qstring_validation_pattern '.' > END > HEADER 'countydata/firestations/select_header.html' > TEMPLATE 'countydata/firestations/select_firestations.html' > FOOTER 'countydata/firestations/select_footer.html' > TOLERANCE 2 > CLASS > NAME 'Firestations' > COLOR 255 0 0 > SYMBOL "square" > SIZE 8 > END > > > ..and I have a select_firestations.html located in the data folder: > > countydata/firestations/ > > Could someone advise what I am overlooking? > > Thanks in advance. > > Antonio > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Geomoose-users mailing list > Geomoose-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geomoose-users From Brent.Lund at state.mn.us Tue Jun 30 08:17:01 2009 From: Brent.Lund at state.mn.us (Brent Lund (ADM)) Date: Sun Sep 18 11:39:09 2011 Subject: [Geomoose-users] Regarding Google licensing In-Reply-To: References: Message-ID: Antonio You can use their services, but do not download and serve their images as if they were your own. see: http://www.google.com/intl/en_us/help/terms_maps.html. Brent ________________________________ From: t faustino [mailto:geomatrix3d@gmail.com] Sent: Monday, June 29, 2009 11:29 AM To: geomoose-users@lists.sourceforge.net Subject: [Geomoose-users] Regarding Google licensing I read in one of the posts that addressed Birds Eye View via Virtual Earth (Bing); thanks for that by the way. I am curious, doesn't allowing map access to Google Map aerials in the same fashion conflict with Google licensing? Just curious if anyone has had any contact with the folks at Google regarding this question. Thanks in advance. Antonio -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20090630/355042bb/attachment.html