Re: [mapguide-users] invalid geomatry in oracle spatial
Hi, Fdo2fdo don’t use a recent fdo version and Map is often more efficient. So when i have this case, I use only fdo2fdo before fdo2cmd, i try on another table. also, i put a where clause in fdo2do to return just one very simple object of my failing table. if i have success I put a where clause to return first of 50% lines tables, if I succeed, I try other 50%. And after 25%, ect… to get the strange object ! It’s often a very complex object with lot of holes without good equilibre… Good luck Rémy - AG-Carto - Bayonne -- View this message in context: http://osgeo-org.1560.x6.nabble.com/invalid-geomatry-in-oracle-spatial-tp5301161p5301172.html Sent from the MapGuide Users mailing list archive at Nabble.com.___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] invalid geomatry in oracle spatial
Thanks, but all the records are in 2D, only the following gtype-s are in the table: 2001, 2002, 2003 2016-12-23 11:51 GMT+01:00 Hans Milling: > Try to run sdo_cs.make_2d(...) on the geometry column or include this in > the > select you use when extracting data. the FDO provider or SDF file does not > support 3d coordinates, and some systems store the coordinates as 3d > coordinates, even though the height value is always 0. 3D coordinates will > not fail the validate_geometry. > > > > > -- > View this message in context: http://osgeo-org.1560.x6. > nabble.com/invalid-geomatry-in-oracle-spatial-tp5301161p5301170.html > Sent from the MapGuide Users mailing list archive at Nabble.com. > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Szász Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] invalid geomatry in oracle spatial
What's the tolerance in user_sdo_geom_metadata?On Dec 23, 2016 21:17, Emese Szászwrote:No, it's not geodetic. I couldn't find any setting where I can set the tolarance in fdo.2016-12-23 11:12 GMT+01:00 Simon Greener :Geodetic? Does FDO use a tolerance?On Dec 23, 2016 20:53, Emese Szász wrote:I use 0.0052016-12-23 10:34 GMT+01:00 Simon Greener :What tolerances are being used in validate_geometry?On Dec 23, 2016 20:22, Emese Szász wrote:Hi, I tried to convert my oracle spatial data to sdf wit the fdo2fdo (fsfcmd.exe) tool.But it didn't succeed, all i got is a massage: "Invalid geometry". I checked my oracle datawith the SDO_GEOM.VALIDATE_GEOMETRY but it says all my geomatries are fine.I also tried to make this conversion in Autocad Map 2017 (Bulk copy) and it worked!Anyone has an idea how to figure out the what causes the problem?I coul't find any logging enabling in fdo2fdo to get more information.many thanks,Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users-- Szász Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users-- Szász Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] invalid geomatry in oracle spatial
No, it's not geodetic. I couldn't find any setting where I can set the tolarance in fdo. 2016-12-23 11:12 GMT+01:00 Simon Greener: > Geodetic? Does FDO use a tolerance? > > On Dec 23, 2016 20:53, Emese Szász wrote: > > I use 0.005 > > > 2016-12-23 10:34 GMT+01:00 Simon Greener : > > What tolerances are being used in validate_geometry? > > On Dec 23, 2016 20:22, Emese Szász wrote: > > Hi, > > > I tried to convert my oracle spatial data to sdf wit the fdo2fdo > (fsfcmd.exe) tool. > But it didn't succeed, all i got is a massage: "Invalid geometry". I > checked my oracle data > with the SDO_GEOM.VALIDATE_GEOMETRY but it says all my geomatries are fine. > > I also tried to make this conversion in Autocad Map 2017 (Bulk copy) and > it worked! > > Anyone has an idea how to figure out the what causes the problem? > I coul't find any logging enabling in fdo2fdo to get more information. > > many thanks, > Emese > > > > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > > > > > -- > Szász Emese > > > > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Szász Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] invalid geomatry in oracle spatial
Geodetic? Does FDO use a tolerance?On Dec 23, 2016 20:53, Emese Szászwrote:I use 0.0052016-12-23 10:34 GMT+01:00 Simon Greener :What tolerances are being used in validate_geometry?On Dec 23, 2016 20:22, Emese Szász wrote:Hi, I tried to convert my oracle spatial data to sdf wit the fdo2fdo (fsfcmd.exe) tool.But it didn't succeed, all i got is a massage: "Invalid geometry". I checked my oracle datawith the SDO_GEOM.VALIDATE_GEOMETRY but it says all my geomatries are fine.I also tried to make this conversion in Autocad Map 2017 (Bulk copy) and it worked!Anyone has an idea how to figure out the what causes the problem?I coul't find any logging enabling in fdo2fdo to get more information.many thanks,Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users-- Szász Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] invalid geomatry in oracle spatial
I use 0.005 2016-12-23 10:34 GMT+01:00 Simon Greener: > What tolerances are being used in validate_geometry? > > On Dec 23, 2016 20:22, Emese Szász wrote: > > Hi, > > > I tried to convert my oracle spatial data to sdf wit the fdo2fdo > (fsfcmd.exe) tool. > But it didn't succeed, all i got is a massage: "Invalid geometry". I > checked my oracle data > with the SDO_GEOM.VALIDATE_GEOMETRY but it says all my geomatries are fine. > > I also tried to make this conversion in Autocad Map 2017 (Bulk copy) and > it worked! > > Anyone has an idea how to figure out the what causes the problem? > I coul't find any logging enabling in fdo2fdo to get more information. > > many thanks, > Emese > > > > ___ > mapguide-users mailing list > mapguide-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapguide-users > -- Szász Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
Re: [mapguide-users] invalid geomatry in oracle spatial
What tolerances are being used in validate_geometry?On Dec 23, 2016 20:22, Emese Szászwrote:Hi, I tried to convert my oracle spatial data to sdf wit the fdo2fdo (fsfcmd.exe) tool.But it didn't succeed, all i got is a massage: "Invalid geometry". I checked my oracle datawith the SDO_GEOM.VALIDATE_GEOMETRY but it says all my geomatries are fine.I also tried to make this conversion in Autocad Map 2017 (Bulk copy) and it worked!Anyone has an idea how to figure out the what causes the problem?I coul't find any logging enabling in fdo2fdo to get more information.many thanks,Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] invalid geomatry in oracle spatial
Hi, I tried to convert my oracle spatial data to sdf wit the fdo2fdo (fsfcmd.exe) tool. But it didn't succeed, all i got is a massage: "Invalid geometry". I checked my oracle data with the SDO_GEOM.VALIDATE_GEOMETRY but it says all my geomatries are fine. I also tried to make this conversion in Autocad Map 2017 (Bulk copy) and it worked! Anyone has an idea how to figure out the what causes the problem? I coul't find any logging enabling in fdo2fdo to get more information. many thanks, Emese ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users
[mapguide-users] MgSelection - highlight selected features in map
Hi, I query a feature source, create a selection and render a map. That map should higlight the selected features - but it doesn't and I don't know why. I guess I haven't understood how it works. I'm not using any viewer - I render the map through a PHP script. I need the script to generate maps in order to get maps into Crystal Reports and other applications (Rest is not an option unfortunately as I sometimes need a feature highlighted, sometimes I dont want it highlighted, GeoRest is slow since I moved to new release). Here is the code snipped: $FeatureResId = new MgResourceIdentifier($FeatureResIdString); $queryOptions = new MgFeatureQueryOptions(); $queryOptions->SetFilter($FILTER); $featureReader = $featureService->SelectFeatures($FeatureResId, $layerClassName1, $queryOptions); $selection = new MgSelection($map); // code for getting coordinates of selected features ... /// $selection->AddFeatures($myLayer, $featureReader, 0); $byteReader = $renderingService->RenderMap($map, $selection, $CENTER, $SCALE, $MAPSIZEWIDHT, $MAPSIZEHEIGHT, $BACKGROUNDCOLOR, 'PNG'); Can anyone help me out here? What needs to be done to get selected features highlighted in a rendered map? Many thanks, Rob ___ mapguide-users mailing list mapguide-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapguide-users