| 01:52:02 | wohnout: | Hello, is it possible to restrict mapserver to use only wms version 1.1.1 as server? |
| 03:55:15 | tof_: | hi all :- ) i've a error since mapserver 5.6.1 ( no error with 5.4.2 ) with map.zoomRectangle ( swig mapscript ) : java.lang.UnknownError: mapscript::mapObj::zoomRectangle( ): General error message. image rectangle maxy >= miny ... thx for ur help |
| 03:55:57 | tof_: | is there anything to do for migrate application from 5.4.2 to 5.6.1 ? |
| 04:19:16 | tof_: | hi all :- ) i've an error since mapserver 5.6.1 ( no error with 5.4.2 ) with map.zoomRectangle ( java mapscript ) : java.lang.UnknownError: mapscript::mapObj::zoomRectangle( ): General error message. image rectangle maxy >= miny ... is there anything to do for migrate application from 5.4.2 to 5.6.1 ? thx for your help ! |
| 04:26:36 | aboudreault: | emm |
| 04:26:46 | aboudreault: | tof_: I fixed this in trunk 4 mounths ago |
| 04:27:04 | aboudreault: | Are you sure your java binding has been recompiled ? |
| 04:29:31 | aboudreault: | tof_: though the error message is still wrong, and basicly, that means that your miny is >= to the maxy, not the inverse |
| 04:30:00 | aboudreault: | I'm going to fix this error message. But your rectangle is probably not correct. |
| 04:39:01 | aboudreault: | gtg, bbl in a hour or so |
| 04:45:18 | nhv: | wohnut: the only way I know of is to use a proxy to insure that in the REQUEST that VERSION=1.1.1 |
| 05:23:27 | wohnout: | nhv: i discovered problem with VERSION=1.3.0 so it is now working |
| 05:27:07 | tof_: | aboudreault: ok i am going to check my jav binding ;- ) thx |
| 06:16:11 | tof_: | aboudreault: i've just tested with mapscript.jar and mapscript.dll ( ms4w 5.6.1 ) and i've always the same error. here my rectangle value : { 'minx': 575 , 'miny': 483 , 'maxx': 746 , 'maxy': 355 } |
| 06:21:46 | tof_: | aboudreault: if i try to swap miny and maxy an other error occurs : |
| 06:21:59 | tof_: | aboudreault: java.lang.UnknownError: rectObj( ): Invalid rectangle. image ( pixel/line ) units { 'minx': 603.000000 , 'miny': 391.000000 , 'maxx': 759.000000 , 'maxy': 518.000000 } |
| 06:40:10 | aboudreault: | { 'minx': 575 , 'miny': 483 , 'maxx': 746 , 'maxy': 355 } is definitively incorrect. |
| 06:40:59 | aboudreault: | tof_: Could you try the same thing in a small python or php script? ( with the proper miny/maxy value ) |
| 06:42:18 | tof_: | aboudreault: hummm it will be not easy for me ... |
| 07:20:38 | CIA-8: | assefa * r9771 /trunk/mapserver/mapogcfilter.c: Generate EID element in the capabilites #3285 |
| 08:04:14 | CIA-8: | tomkralidis * r9772 /trunk/msautotest/wxs/expected/ ( 9 files ): changes related to #3285, #2799 |
| 08:34:24 | CIA-8: | tomkralidis * r9773 /trunk/ ( 3 files in 3 dirs ): fix minor typo and add to msautotest |
| 09:04:52 | CIA-8: | tomkralidis * r9774 /trunk/ ( mapserver/mapwms.c msautotest/wxs/expected/wms_get_caps.xml ): fix sequence of AuthorityURL and Identifier to ensure valid XML ( #3251 ) |
| 10:11:54 | Deeewayne: | anyone available for some mapserver configuration consulting work ? |
| 11:15:08 | Lucent: | i'm looking for a really sharp world shapefile |
| 11:15:29 | Lucent: | or |
| 11:15:38 | Lucent: | a normal, lame world shapefile that doesn't include the usa |
| 11:15:58 | Lucent: | so i don't get overlap/underlap with my sharp usa boundary file |
| 11:28:15 | Lucent: | or can i exclude a shape from a shape file? |
| 11:30:17 | FrankW: | Lucent: if you know the shapeid of the shape to remove, you could use ogr2ogr to skip it. |
| 11:30:21 | FrankW: | Something like: |
| 11:30:39 | FrankW: | ogr2ogr out.shp in.shp -where 'fid != 123' |
| 11:37:42 | Lucent: | cool |
| 11:38:14 | Lucent: | i can dig around in the dbf to find that i hope |
| 11:38:48 | FrankW: | The fid is not "in" the dbf, but it is the zero based index of the shape. |
| 11:39:02 | FrankW: | Are there attributes with country name in the dbf? |
| 11:39:10 | FrankW: | If so, you might also be able to do something like: |
| 11:39:23 | FrankW: | ogr2ogr out.shp in.shp -where 'cntry_name != "USA"' |
| 11:39:31 | Lucent: | i don't know how to read the dbf, i'm looking at the plaintext and see Country_col_regi URUGAY ........ 315000173982.4098324 |
| 11:40:12 | FrankW: | You can use ogrinfo to view the attributes of a shapefile set. |
| 11:40:58 | Lucent: | 1: world ( polygon ) that sucks |
| 11:41:05 | Lucent: | does that mean they're not separate countries? |
| 11:42:10 | FrankW: | try "ogrinfo world.shp world" to see the actual features. |
| 11:42:21 | Lucent: | excellent, there we go |
| 11:42:25 | FrankW: | The default report shows the list of layers in the dataset. |
| 11:42:55 | Lucent: | in the map file couldn't i just do EXPRESSION !NAME=UNITED STATES or some such? |
| 11:43:07 | FrankW: | yes, likely. |
| 11:43:18 | Lucent: | thanks for your help, i think i have enough info to figure it out now |
| 11:43:19 | Lucent: | either way |
| 13:15:44 | Lucent: | FrankW, thanks again for your help, everything is working beautifully |
| 13:20:10 | FrankW: | great |
| 14:04:15 | CIA-8: | pramsey * r9775 /branches/branch-5-6/mapserver/mapwms.c: Initialize uninitialized variable found by valgrind ( #3280 ) |
| 14:47:06 | CIA-8: | pramsey * r9776 /branches/branch-5-6/mapserver/mapwms.c: Make valgrind memcheck run completely pristine... ( #3280 ) |