Re: [Geoserver-users] Native JAI not working
Glad to hear it, Michael! I don't remember needing to set any parameters via Tomcat manager or in any files ... just directly in my Windows environment variables: These are the three related to Java or Geoserver that I had set (included the values just for example). BTW, I didn't see anything on PATH related to either. JAVA_HOME = C:\Program Files\Java\jdk1.7.0_04 GEOSERVER_DATA_DIR = C:\Program Files (x86)\geoserver-2.2\data_dir GEOSERVER_HOME = C:\Program Files (x86)\geoserver-2.2 Ben On Tue, Jul 3, 2012 at 3:10 PM, Michael Smith micha...@abag.ca.gov wrote: Ben and Andrea, I finally got it to work today. I ended up adding the JRE home, bin, and lib\ext locations to my PATH statement, probably overkill but it was late enough I just wanted to put all the key directories in the PATH. What really seemed to be the key, though, was entering the locations of the three native JAI JAR files to the 'Java Classpath' line (Java tab) in the Tomcat properties manager. Ben, I am using Windows Server 2003 (32 bit) and Tomcat 6.0.35 so I am not sure if it is directly applicable to your setup, but wanted to pass on what worked for me. Thank you for offering to help! Andrea, thank you for the troubleshooting help. Once I get my development server back I will redo the process to see the minimal steps required to get GeoServer on Windows 2003 to recognize the native JAI and will pass that on if you are interested. One might only have to update the classpath in the Tomcat properties manager, and nothing else, but I do not know as I did not go back and try that. Since the setup I need right now works, I am going to leave it alone. - Michael -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
Michael, I'm hoping to reinstall on a VM and document my install soon. Ben On Monday, July 2, 2012, Michael Smith micha...@abag.ca.gov wrote: The native JAI Windows installers install the files to JAVA_HOME\jre\lib\ext To try and get the Windows installers output recognized I tried the following: 1- set symlinks to the files installed in JAVA_HOME\jre\lib\ext in JAVA_HOME\jre\lib\i386 2 - set symlinks to the files installed in JAVA_HOME\jre\lib\ext in tomcat\webapps\geoserver\WEB-INF\lib (thought I would try this again and leave the 1.1.3 off the end of the file names to see if the name was what caused the server status to read false for native JAI) Neither option worked. I also added the JRE location within the JDK to the system PATH statement. When GeoServer is deployed as a WAR through Apache Tomcat it is not installed as its own service, so there is no wrapper.conf generated that can be edited. To make sure it was not in another location I did a search on the entire drive. - Michael Andrea Aime andrea.a...@geo-solutions.it 6/29/2012 12:11 PM Hmm.. native JAI should be installed in $JAVA_HOME/jre/lib/i386 on such platform. Aren't you using the windows installers? They do place it in the right position. Hum... and then there is the service wrapper, maybe that one needs some configuration as well, see here: http://geo-solutions.blogspot.it/2010/02/fix-gdal-extension-not-working-with.html Cheers Andrea -- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob:+39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Native JAI not working
Michael, I have the native JAI functioning on Windows Server 2008 R2 Standard SP1 64-bit but with all other components of the stack being 32-bit ... these are the other components: -apache-tomcat-7.0.27.exe (32-bit) -jai_imageio-1_1 (32-bit) -jai-1_1_3 (32-bit) -jre-7u4 (32-bit) and geoserver-2.2-beta2-war It took me awhile (actually gave up for about a year and tried again) to get it working :-p If you need help obtaining any of the components, let me know. Ben -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Container Considerations in Windows
Hi Manesh, You should make those changes to startup.bat, which for me was located at C:\Program Files (x86)\geoserver-2.2\bin\startup.bat I made those changes to line 120 and this is what I have now: %RUN_JAVA% -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSClassUnloadingEnabled -Xms48m -Xmx512M -XX:MaxPermSize=256m -XX:+UseCompressedOops -DGEOSERVER_DATA_DIR=%GEOSERVER_DATA_DIR% -Djava.awt.headless=true -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar Regards, Ben On Wed, Jan 18, 2012 at 5:20 PM, Pillai, Manesh mpil...@howardcountymd.govwrote: Hello, ** ** We’re playing around with GeoServer (2.1.3) and we’re looking at this page: ** ** http://docs.geoserver.org/stable/en/user/production/container.html ** ** with some nice parameters to help optimize our install. However, being Java-ignorant we’re not exactly sure where we apply those parameters. We’re using the default install of GeoServer on Windows (it’s using Jetty) and it’s running as a service. We’re also using Oracle JRE 1.6.0.27. So where would we attach those parameters? ** ** My guess (I really don’t know much about Java) is that I add a JAVA_OPTS environment variable in Windows (I noticed that there was already a JAVA_HOME variable listed there) and add the parameters we want (like “-server” or changing the PermGen space with “-XX:MaxPermSize=128m”). If that’s not it then I assume there’s a file I need to edit somewhere? ** ** So basically if we’re running GeoServer as a Windows service where do we make the changes outlined in the documentation link above? ** ** Any help would be greatly appreciated. ** ** Manesh Pillai Howard County, Maryland -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Searching for cause of OutOfMemory exceptions
I'm having to restart nightly with many fewer layers/stores configured. Was getting the oom with 2 layers groups with around 5 layers each that were drawing on a single postgis database. My SLDs are pretty complex ... doing a lot of labeling and scale depedencies. Am on a Windows server though, so could be coming from somewhere totally different. At this point I'm now running one of the 2.2 nightly builds from a few months ago. Could it be a layer group or postgis issue? Ben On Thu, Dec 22, 2011 at 8:56 AM, Jesse Eichar jesse.eic...@camptocamp.comwrote: Hi, We are having to restart Geoserver once a week because of OutOfMemory errors. I wanted to see if anyone knows of particular configurations that can cause this. Rough statistics of our server: - 6GM RAM - 71 Stores - 381 Layers - 45 Workspaces - Most raster data is ECW and most of those are ImageMosaics - 27-30 of the Vector Stores are postgis (We are not yet using JNDI but I am trying to find time to set that up). We have set the connections perstore to 2 for most of them and have 200 permitted connections so we are not running out of connections - We have at least one JP2ECW Stores - We have a couple proxied WMS Stores - Some raster stores are published multiple times in different workspaces - We heavily use virtual workspaces Any ideas where I should look for the memory leak? Thanks, jesse -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] Integrated GWC Error
I was getting a different no-args error which seemed to be caused by memory management issues. I was able to fix it by adding some memory parameters to the startup script (startup.bat/.sh). These included -XX:+UseConcMarkSweepGC -XX:+CMSClassUnloadingEnabled -XX:+CMSClassUnloadingEnabled -Xms48m -Xmx512M -XX:MaxPermSize=256m -XX:+UseCompressedOops you can find a post at my blog here http://benmearns.blogspot.com/2011/10/caching-gwc-imagery.html Good luck, Ben On Mon, Oct 24, 2011 at 11:30 AM, Tim Martin tim.mar...@ordnancesurvey.co.uk wrote: Hi All It seems my holiday has turned my brain to mush and I just cannot understand why I am getting this error I use GWC to cache layers and have done for sometime using the same geowebcache.xml for well over a year I have just upgraded to 2.1.2 and have changed the web.xml to point to D:\tiles and placed the .xml into that folder as normal On restarting Tomcat GeoServer will not start. Here is the error message from the Tomcat logs along with my geowebcache.xml I have even tried this xml file with GeoServer 2.0.2 and that now fails. It creates the meta_jdbc_h2 but fails to create the diskquoate_page_store So something has gone wrong somewhere and I just cannot see it!!! Any ideas thanks Tim ?xml version=1.0 encoding=utf-8? gwcConfiguration xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:noNamespaceSchemaLocation= http://geowebcache.org/schema/1.2.2/geowebcache.xsd; xmlns=http://geowebcache.org/schema/1.2.2; version1.2.2/version backendTimeout300/backendTimeout cacheBypassAllowedfalse/cacheBypassAllowed gridSets gridSet nameraster/name srsnumber27700/number/srs extent coords double0/double double0/double double70/double double1344000/double /coords /extent alignTopLeftfalse/alignTopLeft resolutions double896.0/double !-- 00 3,200,000 -- double448.0/double !-- 01 1,600,000 -- double224.0/double !-- 02 800,000 -- double112.0/double !-- 03 400,000 -- double56.0/double !-- 04 200,000 -- double28.0/double !-- 05 100,000 -- double14.0/double !-- 06 50,000 -- double7.0/double !-- 07 25,000 -- double3.50/double !-- 08 12,500 -- double1.750/double !-- 09 6,250 -- double0.875/double !-- 10 3,125 -- /resolutions tileHeight250/tileHeight tileWidth250/tileWidth /gridSet /gridSets layers wmsLayer nameRaster/name gridSubsets gridSubset gridSetNameraster/gridSetName /gridSubset /gridSubsets wmsUrlstringhttp://localhost:8080/geoserver/wms/string/wmsUrl wmsLayerstopp:50k_14mpp/wmsLayers /wmsLayer /layers /gwcConfiguration Oct 24, 2011 4:21:10 PM org.apache.catalina.core.ApplicationContext log INFO: Closing Spring root WebApplicationContext Oct 24, 2011 4:24:06 PM org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring root WebApplicationContext Oct 24, 2011 4:24:14 PM org.apache.catalina.core.StandardContext listenerStart SEVERE: Exception sending context initialized event to listener instance of class org.geoserver.platform.GeoServerContextLoaderListener org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcFacade' defined in URL [jar:file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%207.0/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-geoserver-context.xml]: Cannot resolve reference to bean 'gwcTLDispatcher' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcTLDispatcher' defined in URL [jar:file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%207.0/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.layer.TileLayerDispatcher]: Constructor threw exception; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'gwcXmlConf! ! ig' defined in URL [jar:file:/C:/Program%20Files%20(x86)/Apache%20Software%20Foundation/Tomcat%207.0/webapps/geoserver/WEB-INF/lib/gwc-2.1.2.jar!/geowebcache-core-context.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.geowebcache.config.XMLConfiguration]: Constructor threw exception; nested exception is com.thoughtworks.xstream.converters.ConversionException: Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor : Cannot construct org.geowebcache.grid.SRS as it does not have a no-args constructor Debugging information message : Cannot construct
Re: [Geoserver-users] OpenLayers in preview
Hi Stephen, Just go to the GWC demo page: http://localhost:8080/geoserver/gwc/demo and pick the relevant layer ... think those params will mostly work there work too. Ben On Thu, Oct 13, 2011 at 3:27 PM, Stephen V. Mather s...@clevelandmetroparks.com wrote: Hi All, I really like that I can use the built in preview mode to control the starting place of an automatically built OpenLayers, e.g. ** ** http://localhost:8080/geoserver/wms?service=WMSversion=1.1.0request=GetMaplayers=Simple%20Basemapstyles=bbox=2138219,591080,2176457,622732width=512height=500srs=EPSG:3734format=application/openlayers ** ** and modify the bbox parameter and the width parameter. Is there any way, trivial or otherwise, to apply this approach to a cached resource? ** ** Best, ** ** **[image: http://www.clemetparks.com/images/esig/cmp-ms-90x122.png]**Stephen Mather Geographic Information Systems (GIS) Manager (216) 635-3243 s...@clevelandmetroparks.com clevelandmetroparks.com http://www.clemetparks.com/ ** ** ** ** ** ** ** ** -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
[Geoserver-users] installing geoserver as a windows service from os independent distribution
Hi, I'm running a Geoserver snapshot, which does not come with a geoserver installer from which a Windows service could be installed. Does anyone have experience installing the OS independent binary as a Windows service? Thanks, Ben -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Using storage to extend the benefits of virtualization and iSCSI Virtualization increases hardware utilization and delivers a new level of agility. Learn what those decisions are and how to modernize your storage and backup environments for virtualization. http://www.accelacomm.com/jaw/sfnl/114/51434361/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] System requirements for OSM-data in geoserver
have you tried using the MinScaleDenominator tag? I think this would necessary, so not all layers attempt to render at the smallest scale ... he's an example from my sld: Rule Namecite:planet_osm_polygon/Name Titleudbuilding/Title Abstractudbuilding style openstreetmap data/Abstract ogc:Filter ogc:And ogc:PropertyIsEqualTo ogc:PropertyNamebuilding/ogc:PropertyName ogc:Literalyes/ogc:Literal /ogc:PropertyIsEqualTo ogc:PropertyIsEqualTo ogc:PropertyNameamenity/ogc:PropertyName ogc:Literaluniversity/ogc:Literal /ogc:PropertyIsEqualTo /ogc:And /ogc:Filter MinScaleDenominator2/MinScaleDenominator MaxScaleDenominator4/MaxScaleDenominator TextSymbolizer Label ogc:PropertyNamelabelname/ogc:PropertyName /Label Font CssParameter name=font-size12/CssParameter CssParameter name=font-familyArial/CssParameter CssParameter name=font-color#808080/CssParameter /Font LabelPlacement LinePlacement PerpendicularOffset 0 /PerpendicularOffset /LinePlacement /LabelPlacement Halo Radius ogc:Literal1/ogc:Literal /Radius Fill CssParameter name=fill#f4faf6/CssParameter /Fill /Halo VendorOption name=autoWrap75/VendorOption VendorOption name=maxDisplacement75/VendorOption VendorOption name=goodnessOfFit0/VendorOption VendorOption name=grouptrue/VendorOption /TextSymbolizer /Rule On Tue, Aug 2, 2011 at 6:48 AM, Andrey Maraev asmar...@gmail.com wrote: Hello there! I need your suggestions. I try to use the Geoserver for OSM-data in PostgreSQL. First, I connected to database via geoserver and created the new store, then I got the layers below: planet_osm_polygon planet_osm_point planet_osm_line Then I used osm-styles for each layer, then I created the layer-group with all layers and finaly I got the nice map like osm.org in Openlayers (Layer Preview) But I have some troubles. When I use the small map like Mexico(database=700Mb) preview of map is working fine,when i use i.e. the map of France (database=19Gb) the layers do not open and loading takes too much time.. I think the hardware resources are not enough for i could work with it. Is there system requirements for using osm-data in the geoserver? Should I use geoserver via Tomcat,Jetty or something else? Thank you for your help and advices! -- lernen,lernen und lernen -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA The must-attend event for mobile developers. Connect with experts. Get tools for creating Super Apps. See the latest technologies. Sessions, hands-on labs, demos much more. Register early save! http://p.sf.net/sfu/rim-blackberry-1 ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OSM styles for Geoserver
Andrey, I'm passing a bgcolor argument on my wms request ... since the wms request is sent when I instantiate a new wms object, that loops like this: var gsLayer = new OpenLayers.Layer.WMS( default, http://SERVERIP/geoserver/wms;, { layers: 'LAYERNAME', styles: '', srs: 'EPSG:900913', format: format, isBaseLayer: true, bgcolor: '#DDDFD3' }, {attribution: 'a href=http://openstreetmap.org/;OpenStreetMap/a and a href=http://creativecommons.org/licenses/by-sa/2.0/;CC-By-SA/a'} ); .. haven't had to deal with ocean yet ... I think if you're at that scale you can symboloize fill for country/continent polys and specify bgcolor = whatever color you want for oceans. Ben On Mon, Jul 25, 2011 at 3:28 AM, Andrey Maraev asmar...@gmail.com wrote: Thanx Ben, It works fine, but how do you implement the background (ocean,continent areas) and the places for it? 2011/7/22 Benjamin Mearns mea...@udel.edu there this: https://github.com/FlorentDotMe/OSM-Styles-for-GeoServer On Fri, Jul 22, 2011 at 10:47 AM, Andrey Maraev asmar...@gmail.comwrote: Hello there! Does anyone know where I can pick up the osm styles for my geoserver. I have already any styles for my job, i.e. for the table planet_osm_line. I need also for planet_osm_polygon(buildings) and planet_osm_point(places) I found out .sld http://dev.ifs.hsr.ch/redmine/projects/osminabox/wiki but it no correct for geoserver\postgresql -- lernen,lernen und lernen -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- lernen,lernen und lernen -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- Storage Efficiency Calculator This modeling tool is based on patent-pending intellectual property that has been used successfully in hundreds of IBM storage optimization engage- ments, worldwide. Store less, Store more with what you own, Move data to the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] OSM styles for Geoserver
there this: https://github.com/FlorentDotMe/OSM-Styles-for-GeoServer On Fri, Jul 22, 2011 at 10:47 AM, Andrey Maraev asmar...@gmail.com wrote: Hello there! Does anyone know where I can pick up the osm styles for my geoserver. I have already any styles for my job, i.e. for the table planet_osm_line. I need also for planet_osm_polygon(buildings) and planet_osm_point(places) I found out .sld http://dev.ifs.hsr.ch/redmine/projects/osminabox/wiki but it no correct for geoserver\postgresql -- lernen,lernen und lernen -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/ ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Lead Geospatial Information Consultant IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- 10 Tips for Better Web Security Learn 10 ways to better secure your business today. Topics covered include: Web security, SSL, hacker attacks Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more. http://www.accelacomm.com/jaw/sfnl/114/51426210/___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] SLD advanced styling problem
Have not done this myself: you could make a new layer from a SQL view that groups points by proximity and then show this (and not the one with all the points) when you're zoomed out to a particular scale. I'm not sure what the query to make that view would look like ... would definitely need to be an aggregate of more than one postgis function ... I don't know how to write this in SQL, but written out is something like considering all sets of points that fall within x distance of eachother group each point with the group it falls within that has the maximum members I would be VERY interested to see this written out in SQL ... maybe do some searching on postgis lists. Ben http://docs.geoserver.org/latest/en/user/data/sqlview.html http://postgis.refractions.net/docs/reference.html#Geometry_Processing -- Ben Mearns Research and Data Management Services, IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users
Re: [Geoserver-users] How to use GeoServer published data with ArcGIS API
Hi Mustafa, The base url for a wms request to geoserver is like this http://HOST/wms. You should be able to choose what layers show, etc. through properties or the constructor of the WMSLayer class. At this point, I should say that I haven't actually used a Geoserver WMS with ArcGIS JavaScript API ... I'm not totally sure that it will work with a 3rd party WMS (i.e. Geoserver), though it should mostly support it, since WMS is a standard. However, it sounds like WMSLayer will not support feature query, since it apparently uses a REST function that's not part of the WMS standard (see my highlight here: http://diigo.com/0fa06). Here is a post on how someone was able to accomplish query functionality with a 3rd party WMS: http://hcapello.blogspot.com/2009/06/adding-3rd-party-wms-map-service-using.html Hope that helps. Ben On Sat, Feb 12, 2011 at 11:26 AM, Mustafa646 noorc...@gmail.com wrote: Thanks for replying! I have couple of questions. 1. var wmsLayer = new esri.layers.WMSLayer(wmsURL); with this line of code i can display wms layer over any base Layer. Now From where I get wmsURL ? I have published my shapefile on GeoServer, but i dont know how i get the URL (wmsURL) to use as parameter in above line of code ? 2. Now, Let's suppose I am successful to display wmsLayer. Now i want to query data against this wmsLayer. Like code below: queryTask = new esri.tasks.QueryTask(wmsURL); Can I use wmsURL as a parameter in QueryTask method ? From ArcGIS API reference, I come to know that the URL parameter of QueryTask method is the URL to the ArcGIS Server REST resource. But as u know i am using GeoServer, so how it could be fixed. Need some explanation ? udelmaps wrote: Hi Mustafa, You can add it as a WMS layer using documentation here: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/wmslayer.htm From that page: This snippet requires setting up a proxy page var wmsLayer = new esri.layers.WMSLayer(wmsURL); This snippet specifies the resourceInfo option which does not require proxy page. var wmsLayer = new esri.layers.WMSLayer(wmsURL, {resourceInfo: resourceInfo, visibleLayers: ['1','2'] } ); ... not sure if this will automatically tile though. Ben On Fri, Feb 11, 2011 at 9:33 AM, Mustafa646 noorc...@gmail.com wrote: I am very new to GeoServer. I have published my shapefile on GeoServer. Now How can i access and use my published data with ArcGIS API. In ArcGIS Samples, for querying data from ArcGIS Sample server, we use following line of code: queryTask = new esri.arcgis.gmaps.QueryTask(sampleserver1.arcgisonline.com/ArcGIS/rest/services/…); I need similar line of code to access my data from geo server. Can anybody send me the piece of code like that ? ... -- View this message in context: http://old.nabble.com/How-to-use-GeoServer-published-data-with-ArcGIS-API-tp30901021p30901021.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Research and Data Management Services, IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- View this message in context: http://old.nabble.com/How-to-use-GeoServer-published-data-with-ArcGIS-API-tp30901021p30909732.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Geoserver-users mailing list
Re: [Geoserver-users] How to use GeoServer published data with ArcGIS API
Hi Mustafa, You can add it as a WMS layer using documentation here: http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/wmslayer.htm From that page: This snippet requires setting up a proxy page var wmsLayer = new esri.layers.WMSLayer(wmsURL); This snippet specifies the resourceInfo option which does not require proxy page. var wmsLayer = new esri.layers.WMSLayer(wmsURL, {resourceInfo: resourceInfo, visibleLayers: ['1','2'] } ); ... not sure if this will automatically tile though. Ben On Fri, Feb 11, 2011 at 9:33 AM, Mustafa646 noorc...@gmail.com wrote: I am very new to GeoServer. I have published my shapefile on GeoServer. Now How can i access and use my published data with ArcGIS API. In ArcGIS Samples, for querying data from ArcGIS Sample server, we use following line of code: queryTask = new esri.arcgis.gmaps.QueryTask(sampleserver1.arcgisonline.com/ArcGIS/rest/services/…); I need similar line of code to access my data from geo server. Can anybody send me the piece of code like that ? ... -- View this message in context: http://old.nabble.com/How-to-use-GeoServer-published-data-with-ArcGIS-API-tp30901021p30901021.html Sent from the GeoServer - User mailing list archive at Nabble.com. -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users -- Ben Mearns Research and Data Management Services, IT-Client Support Services University of Delaware mea...@udel.edu : 302.831.1978 -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Geoserver-users mailing list Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users