Boundary clarification

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Boundary clarification

AJohnson-2
Hello. I have a map in Geoserver that I have assigned the EPSG of 2992.  This projection is in feet, and the boundary information from Geoserver is as follows:
Data min X: 141834.5376473122 Data min Y: 62255.373779079215
Data max X: 2422806.068631827 Data max Y: 1683217.1387560472

In my mapbuilder config file, I have the line

        <BoundingBox SRS="EPSG:2992" maxx = "2422806.068631827" maxy = "1683217.1387560472" minx = "141834.5376473122" miny = "62255.373779079215"/>

The map comes up fine, but I can not select and get output from the elements on the map. Do I have this set right? I tried putting in 4326, and in one case of my many tries, started getting the output to show up. Any sort of help would be useful.

Amy


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Reply | Threaded
Open this post in threaded view
|

Re: Boundary clarification

Luca Giandoso
What kind of widget are you using?
What is the error reported by the javascript console or firebug, if any?

Luca

On Tue, Jul 22, 2008 at 11:22 PM, Amy Johnson <[hidden email]> wrote:

> Hello. I have a map in Geoserver that I have assigned the EPSG of 2992.
> This projection is in feet, and the boundary information from Geoserver is
> as follows:
> Data min X: 141834.5376473122 Data min Y: 62255.373779079215
> Data max X: 2422806.068631827 Data max Y: 1683217.1387560472
> In my mapbuilder config file, I have the line
>
>         <BoundingBox SRS="EPSG:2992" maxx = "2422806.068631827" maxy =
> "1683217.1387560472" minx = "141834.5376473122" miny =
> "62255.373779079215"/>
>
> The map comes up fine, but I can not select and get output from the elements
> on the map. Do I have this set right? I tried putting in 4326, and in one
> case of my many tries, started getting the output to show up. Any sort of
> help would be useful.
>
> Amy
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mapbuilder-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Reply | Threaded
Open this post in threaded view
|

Re: Boundary clarification

Amy Johnson
I am using FeatureList. I started with the wfs-t demo and replaced the maps with my own.

When I draw the map up, I get the following:

INFO - [] - mapbuilder.ProxyRedirect: context initialized to:mapbuilder
INFO - [] - GET param serverUrl:http://spatialreference.org/ref/epsg/2992/proj4
INFO - [] - responseBody:+proj=lcc +lat_1=43 +lat_2=45.5 +lat_0=41.75 +lon_0=-12
0.5 +x_0=399999.9999984 +y_0=0 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048 +no_de
fs
23 Jul 11:02:47 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/wms?LAYERS=
topp%3Aoweb_wshed_council_bnd&TRANSPARENT=TRUE&FORMAT=image%2Fgif&STYLES=oweb_ws
hed_council_bnd_style&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=applic
ation%2Fvnd.ogc.se_inimage&SRS=EPSG%3A2992&BBOX=-1047812.2340148222,-748225.5087
094049,3612452.8402939606,2493698.0212445315&WIDTH=1150&HEIGHT=800" "Mozilla/5.0
 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.1
6" "http://localhost:8080/mapbuilder/Testing/"
23 Jul 11:02:48 INFO [geoserver.filters] - Not compressing output for mimetype:
image/gif
23 Jul 11:02:48 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/wms?LAYERS=
topp%3Aoweb_wshed_council_bnd&TRANSPARENT=TRUE&FORMAT=image%2Fgif&STYLES=oweb_ws
hed_council_bnd_style&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=applic
ation%2Fvnd.ogc.se_inimage&SRS=EPSG%3A2992&BBOX=-1047812.2340148222,-748225.5087
094049,3612452.8402939606,2493698.0212445315&WIDTH=1150&HEIGHT=800" took 1031ms
23 Jul 11:03:16 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/wfs?SERVICE
=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topp%3Aoweb_wshed_council_bnd&MAX
FEATURES=100&BBOX=-122.108145%2C44.733484%2C-121.949149%2C44.846704" "Mozilla/5.
0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.
16" "http://localhost:8080/mapbuilder/Testing/"
23 Jul 11:03:17 INFO [geoserver.wfs] -
___________________________________________________________________________
When I select an element, I get the following:

Request: getFeature
        handle = null
        service = WFS
        version = 1.0.0
        baseUrl = http://localhost:8080/geoserver/
        query = [net.opengis.wfs.impl.QueryTypeImpl@5b84b (group: null, property
Name: null, function: null, filter: [ the_geom bbox POLYGON ((-122.108145 44.733
484, -122.108145 44.846704, -121.949149 44.846704, -121.949149 44.733484, -122.1
08145 44.733484)) ], sortBy: null, featureVersion: null, handle: null, srsName:
null, typeName: [{http://www.openplans.org/topp}oweb_wshed_council_bnd])]
        maxFeatures = 100
        outputFormat = GML2
        resultType = results
        traverseXlinkDepth = null
        traverseXlinkExpiry = null

Result:
23 Jul 11:03:17 INFO [geoserver.filters] - Compressing output for mimetype: text
/xml
23 Jul 11:03:17 INFO [geoserver.filters] - 127.0.0.1 "GET /geoserver/wfs?SERVICE
=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topp%3Aoweb_wshed_council_bnd&MAX
FEATURES=100&BBOX=-122.108145%2C44.733484%2C-121.949149%2C44.846704" took 1081ms

______________________________________________________________________________________



Luca Giandoso wrote:
What kind of widget are you using?
What is the error reported by the javascript console or firebug, if any?

Luca

On Tue, Jul 22, 2008 at 11:22 PM, Amy Johnson [hidden email] wrote:
  
Hello. I have a map in Geoserver that I have assigned the EPSG of 2992.
This projection is in feet, and the boundary information from Geoserver is
as follows:
Data min X: 141834.5376473122 Data min Y: 62255.373779079215
Data max X: 2422806.068631827 Data max Y: 1683217.1387560472
In my mapbuilder config file, I have the line

        <BoundingBox SRS="EPSG:2992" maxx = "2422806.068631827" maxy =
"1683217.1387560472" minx = "141834.5376473122" miny =
"62255.373779079215"/>

The map comes up fine, but I can not select and get output from the elements
on the map. Do I have this set right? I tried putting in 4326, and in one
case of my many tries, started getting the output to show up. Any sort of
help would be useful.

Amy


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users


    

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Reply | Threaded
Open this post in threaded view
|

Re: Boundary clarification

Luca Giandoso
You need to add to WfsGetFeature widget the
<webServiceSrs>EPSG:2992</webServiceSrs> property.

Luca

On Wed, Jul 23, 2008 at 9:10 PM, Amy Johnson <[hidden email]> wrote:

> I am using FeatureList. I started with the wfs-t demo and replaced the maps
> with my own.
>
> When I draw the map up, I get the following:
>
> INFO - [] - mapbuilder.ProxyRedirect: context initialized to:mapbuilder
> INFO - [] - GET param
> serverUrl:http://spatialreference.org/ref/epsg/2992/proj4
> INFO - [] - responseBody:+proj=lcc +lat_1=43 +lat_2=45.5 +lat_0=41.75
> +lon_0=-12
> 0.5 +x_0=399999.9999984 +y_0=0 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048
> +no_de
> fs
> 23 Jul 11:02:47 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/wms?LAYERS=
> topp%3Aoweb_wshed_council_bnd&TRANSPARENT=TRUE&FORMAT=image%2Fgif&STYLES=oweb_ws
> hed_council_bnd_style&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=applic
> ation%2Fvnd.ogc.se_inimage&SRS=EPSG%3A2992&BBOX=-1047812.2340148222,-748225.5087
> 094049,3612452.8402939606,2493698.0212445315&WIDTH=1150&HEIGHT=800"
> "Mozilla/5.0
>  (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702
> Firefox/2.0.0.1
> 6" "http://localhost:8080/mapbuilder/Testing/"
> 23 Jul 11:02:48 INFO [geoserver.filters] - Not compressing output for
> mimetype:
> image/gif
> 23 Jul 11:02:48 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/wms?LAYERS=
> topp%3Aoweb_wshed_council_bnd&TRANSPARENT=TRUE&FORMAT=image%2Fgif&STYLES=oweb_ws
> hed_council_bnd_style&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=applic
> ation%2Fvnd.ogc.se_inimage&SRS=EPSG%3A2992&BBOX=-1047812.2340148222,-748225.5087
> 094049,3612452.8402939606,2493698.0212445315&WIDTH=1150&HEIGHT=800" took
> 1031ms
> 23 Jul 11:03:16 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/wfs?SERVICE
> =WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topp%3Aoweb_wshed_council_bnd&MAX
> FEATURES=100&BBOX=-122.108145%2C44.733484%2C-121.949149%2C44.846704"
> "Mozilla/5.
> 0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702
> Firefox/2.0.0.
> 16" "http://localhost:8080/mapbuilder/Testing/"
> 23 Jul 11:03:17 INFO [geoserver.wfs] -
> ___________________________________________________________________________
> When I select an element, I get the following:
>
> Request: getFeature
>         handle = null
>         service = WFS
>         version = 1.0.0
>         baseUrl = http://localhost:8080/geoserver/
>         query = [net.opengis.wfs.impl.QueryTypeImpl@5b84b (group: null,
> property
> Name: null, function: null, filter: [ the_geom bbox POLYGON ((-122.108145
> 44.733
> 484, -122.108145 44.846704, -121.949149 44.846704, -121.949149 44.733484,
> -122.1
> 08145 44.733484)) ], sortBy: null, featureVersion: null, handle: null,
> srsName:
> null, typeName: [{http://www.openplans.org/topp}oweb_wshed_council_bnd])]
>         maxFeatures = 100
>         outputFormat = GML2
>         resultType = results
>         traverseXlinkDepth = null
>         traverseXlinkExpiry = null
>
> Result:
> 23 Jul 11:03:17 INFO [geoserver.filters] - Compressing output for mimetype:
> text
> /xml
> 23 Jul 11:03:17 INFO [geoserver.filters] - 127.0.0.1 "GET
> /geoserver/wfs?SERVICE
> =WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topp%3Aoweb_wshed_council_bnd&MAX
> FEATURES=100&BBOX=-122.108145%2C44.733484%2C-121.949149%2C44.846704" took
> 1081ms
>
> ______________________________________________________________________________________
>
>
>
> Luca Giandoso wrote:
>
> What kind of widget are you using?
> What is the error reported by the javascript console or firebug, if any?
>
> Luca
>
> On Tue, Jul 22, 2008 at 11:22 PM, Amy Johnson <[hidden email]>
> wrote:
>
>
> Hello. I have a map in Geoserver that I have assigned the EPSG of 2992.
> This projection is in feet, and the boundary information from Geoserver is
> as follows:
> Data min X: 141834.5376473122 Data min Y: 62255.373779079215
> Data max X: 2422806.068631827 Data max Y: 1683217.1387560472
> In my mapbuilder config file, I have the line
>
>         <BoundingBox SRS="EPSG:2992" maxx = "2422806.068631827" maxy =
> "1683217.1387560472" minx = "141834.5376473122" miny =
> "62255.373779079215"/>
>
> The map comes up fine, but I can not select and get output from the elements
> on the map. Do I have this set right? I tried putting in 4326, and in one
> case of my many tries, started getting the output to show up. Any sort of
> help would be useful.
>
> Amy
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mapbuilder-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Mapbuilder-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
>
>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Reply | Threaded
Open this post in threaded view
|

Re: Boundary clarification

Amy Johnson
Thanks very much. Is this documented somewhere, or is it something worth
documenting? If so, I could do that.

Regards,

Amy

Luca Giandoso wrote:
> You need to add to WfsGetFeature widget the
> <webServiceSrs>EPSG:2992</webServiceSrs> property.
>
>
>  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users
Reply | Threaded
Open this post in threaded view
|

Re: Boundary clarification

Andreas Hocevar
Hi Amy,

Amy Johnson wrote:
> Thanks very much. Is this documented somewhere, or is it something worth
> documenting? If so, I could do that.
>  

It is only documented in the component register, which is available in
your mapbuilder installation (e.g.
http://localhost/mapbuilder/docs/register/). If you feel that this is
insufficient, documentation efforts on the Mapbuilder wiki are always
welcome.

BTW, the component register is a good reference to see which config
properties are available for each widget, tool or model.

Regards,
Andreas.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Mapbuilder-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users