geoserver

Create a GeoServer feature using a SQL Server 2008 View

We are trying to create a feature (layer) in GeoServer on top of a view in SQL Server 2008, rather than a table. We are able to create the feature, but it won't display any data because GeoServer (JDBC) can't detect a primary key to use as the FID. To the best of my knowledge, it is not possible to make a view column appear to be a prima...

Generating Geo-Referenced Images in C#

I want to create some heat-map style tiles to overlay over our base maps using Open Layers. Basically, I want to divide some some bounding box into a grid, and display each square of the grid using a different color based on how many points of a sample fall within that grid square. The technologies involved are C#, OpenLayers, SQL Serv...

Can GeoServer be used in a commercial application?

GeoServer is licensed under the GPLv2. I know that this means I cannot make derivative commercial works from this application. For instance, I cannot add new interfaces, plugins, etc to GeoServer as a closed source application. However, can I use it as a backend server to frontend closed source application? An oGC compliant map server...

Geoserver GeoWebCache AntiAlias LargePolygon Error OpenLayers

When using geoserver (1.7.X) and OpenLayers (WMS layer) togheter I get a weird behavour if a render several layers with antialias and one of the bottom layers is really large compared to the rest of the features in the layers "on top". The background should have been not black. If I go straight to the geoserver and disable antialias ...

upload SLD file to geoserver

Hi all, i want to upload SLD file to geoserver by REST. I use geoserver version 1.7.6 in Ubuntu. I have upload file: names:chool_point.sld using Poster. url:http://localhost:8080/geoserver/rest/styles?name=school%5Fpoint content-type:application/vnd.ogc.sld+xml method:Post this is my sld content: xsi:schemaLocation="htt...

INVALID LABEL error for JSON response against WFS request of Geoserver using Jquery

function json() { var url="http://192.172.2.23:8080/geoserver/wfs?request=GetFeature&version=1.1.0&outputFormat=json&typeName=topp:networkcoverage&CQL_FILTER= topp:CELL_ID='410-07-301-31781' Or topp:CELL_ID='nnn'&callback=?"; jQuery.getJSON(url,function(data){alert("Symbol: " + data.type + ", Price: " + data....

INVALID LABEL error for JSON response

function json() { var url="http://192.172.2.23:8080/geoserver/wfs?request=GetFeature&version=1.1.0&outputFormat=json&typeName=topp:networkcoverage&CQL_FILTER= topp:CELL_ID='410-07-301-31781' Or topp:CELL_ID='nnn'&callback=?"; jQuery.getJSON(url,function(data){alert("Symbol: " + data.type + ", Price: " + data.bbox); }); ...

The infamous "No suitable Driver" exception for Tomcat 5.5, Postgres, and JDBC

Hey y'all, I'm trying to add a database-enabled JSP to an existing Tomcat 5.5 application (GeoServer 2.0.0, if that helps). The app itself talks to Postgres just fine, so I know that the database is up, user can access it, all that good stuff. What I'm trying to do is a database query in a JSP that I've added. I've used the config exam...

What are the limitations of GeoServer and OpenLayers when showing a large number of points?

We are trying to show a map with a large number of points (ranging from 1000 up to 20000 depending on the users criteria) using OpenLayers and GeoServer. The points are stored in a PostgreSQL database. Whilst the application seems to have little problem displaying the lower range, its practical limit seems to be around 5000 points. Th...

SQL Query in Geoserver

Anybody know why the geoserver does not implement a direct sql query when setup a layer? ...

Single Sign On for WebServices, WCS, WFS, WMS (Geoserver), etc.

[ # question edited for clarification # ] I'm trying to implement a Single Sign On (SSO) for a web application. Maybe you can help me find a proper solution, give me a direction or tell me, that solutions already exist. The scenario: A GeoExt (ExtJS for geodata/map based apps) webapp (JavaScript only) will be deployed on a customer's w...

Display Image over map layer in GeoServer

Hi I am newbie when it comes to GeoServer and trying to figure out if there is an easy way to display images on top of map layer. A background: In my application, based on a search criteria, some polygons are drawn on the map. Each polygon has a corresponding image (in TIFF format) that is stored somewhere. I want to load the image o...

Mapserver vs Geoserver...

Hello everbody! What the advantages/disadvantages ... I have time to learn, but I need to choose between Mapserver or Gaoserver... What you think about that? Thanks ...

How to serve tiff WMS imagery through GeoServer

Ok so I am new to the GeoServer/database world. I am a student intern and I have been given the task of setting up a WMS using GeoServer. I have never done any database work before this so bare with me if my questions leave out important information. I am using GeoServer 2.0.1 in standalone mode (downloaded using Jetty) with PostgreSQ...

GIS: need to add data to a shape file

Hi folks I tried posting this question earlier but was unsuccessful so I'm trying again I imported a shape (set of points) file into postgres and have a table (hist_info) with additional data also in postgres. I tried creating a VIEW with data that I need from each files but for a reason I can't figure out as to why my GIS layer (creat...

Display Map like OpenStreetMap

Hello, everybody. I like the way OpenStreetMap display its map. It almost looks like Google Map. I have already installed GeoServer and PostGis on my notebook. I also got this cloudmade osm file for my country, Indonesia. I downloaded indonesia.osm.bz2. I successfully imported it into my PostGis and did setup it on my GeoServer but i...

Geoserver and WMS

Hi, I need some help. I am new to the concept of Geoserver and WMS and I am looking for very basic help. I have downloaded and installed Geoserver, set up layers etc (including sld), however, I have no idea how to get this information from here to my website. As I have mentioned I am new to this and have no idea what I am doing, I ha...

how do i remove overlapping lines in postgis

I have a typical database with millions of polygons as land parcels and i want to split these polygons onto lines and then remove the lines that overlap eachother. These lines will be used purely for rendering in mapnik/and or geoserver as at the moment every parcel boundary gets rendered twice. i propose to split the parcel polygons i...

Geoserver and external website hosting

Hi, I have set up a webpage that calls wms from geoserver operating on localhost and using openlayers as a front end. Everything works perfectly well. The next step, however, causes a few issues. My website is hosted on an external server by another company. Therefore, when i upload the webpage it will not work, is there a way to so...

Change srid in mysql

Is it possible to change the srid of a column of geometry type? I just want to create a view of geometry type data from the raw latlon data and use it in the geoserver. However after using the pointfromtext function, the type of data I generate is geometry rather than point and geoserver would treat it as an feature typ of byte array whi...