[Geoserver-devel] How to modify getmap

I just download and import Geoserver source code to Eclipse. I need to modify getMap so that after read the GIS data from DB this function move all Coordinates.
For example, all Coordinates are moved to north 20 meters.
How to modify this function at Geoserver?
Thanks

You may consider changing things on the other end; ie request 20 meters south :slight_smile:

Why the distance of 20 mins? Is your data wrong; or are you trying to combine two data sets and they are not lining up?

Jody

On 22/10/2010, at 3:24 PM, lv wrote:

I just download and import Geoserver source code to Eclipse. I need to modify getMap so that after read the GIS data from DB this function move all Coordinates.
For example, all Coordinates are moved to north 20 meters.
How to modify this function at Geoserver?
Thanks

Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@anonymised.coms.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Hi ,

Thanks for your reply. I need to offset the map because most programmers will not on client site. The client does not want to provide correct data outside their office. Originally, they use ArcGIS. But this time my boss wants to change Geoserver.

request 20 meters: do you mean after publishing the map , the java or web application requests the corrent map and plus 20 meters distance?


Subject: Re: [Geoserver-devel] How to modify getmap
From: jody.garnett@anonymised.com
Date: Sat, 23 Oct 2010 14:03:22 +1000
CC: geoserver-devel@lists.sourceforge.net
To: lv.123@anonymised.com

You may consider changing things on the other end; ie request 20 meters south :slight_smile:

Why the distance of 20 mins? Is your data wrong; or are you trying to combine two data sets and they are not lining up?

Jody

On 22/10/2010, at 3:24 PM, lv wrote:

I just download and import Geoserver source code to Eclipse. I need to modify getMap so that after read the GIS data from DB this function move all Coordinates.
For example, all Coordinates are moved to north 20 meters.
How to modify this function at Geoserver?
Thanks

Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
Geoserver-devel mailing list
Geoserver-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

If all you need is styling with 20m offset (instead of providing
corrected data) using geometry transformations in your SLD might be all
you need:
<http://blog.geoserver.org/2010/03/17/extending-your-map-styling-with-geometry-transformations/&gt;

Gabriel

On Mon, 2010-10-25 at 02:34 +0000, lv wrote:

Hi ,

Thanks for your reply. I need to offset the map because most
programmers will not on client site. The client does not want to
provide correct data outside their office. Originally, they use
ArcGIS. But this time my boss wants to change Geoserver.

request 20 meters: do you mean after publishing the map , the java or
web application requests the corrent map and plus 20 meters distance?

______________________________________________________________________
Subject: Re: [Geoserver-devel] How to modify getmap
From: jody.garnett@anonymised.com
Date: Sat, 23 Oct 2010 14:03:22 +1000
CC: geoserver-devel@lists.sourceforge.net
To: lv.123@anonymised.com

You may consider changing things on the other end; ie request 20
meters south :slight_smile:

Why the distance of 20 mins? Is your data wrong; or are you trying to
combine two data sets and they are not lining up?

Jody

On 22/10/2010, at 3:24 PM, lv wrote:

        I just download and import Geoserver source code to Eclipse.
        I need to modify getMap so that after read the GIS data from
        DB this function move all Coordinates.
        For example, all Coordinates are moved to north 20 meters.
        How to modify this function at Geoserver?
        Thanks
        ------------------------------------------------------------------------------
        Nokia and AT&T present the 2010 Calling All Innovators-North
        America contest
        Create new apps & games for the Nokia N8 for consumers in
         U.S. and Canada
        $10 million total in prizes - $4M cash, 500 devices, nearly
        $6M in marketing
        Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to
        Ovi Store
        http://p.sf.net/sfu/nokia-dev2dev_______________________________________________
        Geoserver-devel mailing list
        Geoserver-devel@lists.sourceforge.net
        https://lists.sourceforge.net/lists/listinfo/geoserver-devel
        
------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________ Geoserver-devel mailing list Geoserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-devel

--
Gabriel Roldan
groldan@anonymised.com
Expert service straight from the developers