Hello, your question can't be answered in general. Depending on the accuracy of the input data and the envisaged accuracy in the output (presentation) data, it might be useful to reduce the accuracy by rounding to fewer digits after the comma. But one has to experiment to avoid visible artefacts.
Another common technique is to use relative coordinates. But in your case, if you work with geographic coordinates (lon/lat), this does not help. Also, relative coordinates might introduce sliver polygons in complex polygon mosaics. Some viewers (e.g. Firefox) may have problems with some coordinate systems, f.e. if all of your data is within 1 or 2 degrees, or if you use very large coordinates (e.g. UTM). This needs a little testing. If it happens with your data, it often helps to simple multiply the coordinates with a certain factor. I collected a few issues for optimizing the geodata to SVG conversion: see the last section at http://www.carto.net/papers/svg/ postgis_geturl_xmlhttprequest/ - maybe some of the issues also apply to your conversion scenario. I am also not so familiar with XSLT. I am more a scripting/ programming guy. I don't know how easy it is with XSLT to solve more complex conversion scenarios. Most scripting languages have good XML support, so its easy to read and generate XML with scripting languages. Hope this helps, Andreas PS: if you have a good GML to SVG converter using XSLT I would be interested having a look at it, if you are willing to share. --- In [email protected], "horseisbrown" <[EMAIL PROTECTED]> wrote: > > Hi, > I am about to start converting GML to SVG using XSLT, I have only > really used XSLT previously, so I am quite new to all of this. The GML > coordinates I have are in Eastings/Northings format which was provided > by Ordnance Survey MasterMap. > I am wondering the best way of plotting these using SVG... should I > just stick with the coordinate values as they are and change the > viewBox properties (so that it begins at the lowest value coordinates > and finishes at the highest), or is there a more elegant way to do this? > > Any help is much appreciated thank you. > ----- To unsubscribe send a message to: [EMAIL PROTECTED] -or- visit http://groups.yahoo.com/group/svg-developers and click "edit my membership" ---- Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/svg-developers/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/svg-developers/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

