Re: [mapserver-users] Translate MapServer Doc into french

2010-02-25 Thread Lars Lingner
Yves Jacolin schrieb:
 Hello,
 
 What is the process to translate the documentation into french? Does someone
 began to work on this?
 


I'm not sure if someone is working on french translation, but the
process of translating the docs has been described by Jeff McKenna here
http://lists.osgeo.org/pipermail/mapserver-dev/2010-February/009653.html

I will add to this: Just check in the translated files. The build script
will take care of missing translation by inserting the English version.

Its really nice to see that the multilingual setup attracts more and
more people ;)

Thank you!


Lars


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: msplugin_mssql2008.dll plugin seems to work but I obtain a blank image

2010-02-25 Thread Kiks

thanks for the reply, but the sintax in the map file:

DATA geomField FROM geomTable USING OBJECTID USING SRID=3003

is  not recognized from my Sql Server 2008:
I tried to run a query in management studio like this:

SELECT geomField FROM geomTable USING OBJECTID USING SRID=3003

but I get a sintax error, and I can't find reference to similar sintax.



-- 
View this message in context: 
http://n2.nabble.com/msplugin-mssql2008-dll-plugin-seems-to-work-but-I-obtain-a-blank-image-tp4627179p4631408.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Getfeatureinfo and MSsql 2008 server

2010-02-25 Thread Afroz Kannancheri

Hi All,

I have a layer drawn from the shape information stored in MSSQL 2008 server.
The layer has around 300 polygons which are drawn perfectly on a world base
map.
When i try to get the details for each polygon using the Getfeatureinfo
during the click event, i get the following error from MSSQL 2008 server.

msMSSQL2008LayerGetShape(): Query error. Error executing MSSQL2008 SQL
statement: SELECT convert(varchar(max), numb1),convert(varchar(max),
poprate),geom.STAsBinary(),convert(varchar(20), ID) from table1 WHERE
geom.STIntersects(Geometry::STGeomFromText('POLYGON((-16.4101563310658
17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
17.724609875))',0)) = 1 -[Microsoft][ODBC SQL Server Driver][SQL Server]A
.NET Framework error occurred during execution of user defined routine or
aggregate 'geometry': System.FormatException: 24118: The Polygon input is
not valid because the exterior ring does not have enough points. Each ring
of a polygon must contain at least three distinct points.
System.FormatException: at
Microsoft.SqlServer.Types.GeometryDataBuilder.EndFigure() at
Microsoft.SqlServer.Types.OpenGisWktReader.ParseLineStringText(FigureAttributes
attributes) at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonText()
at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonTaggedText() at
Microsoft.SqlServer.Types.OpenGisWktReader.ParseGeometryTaggedText() at
Microsoft.SqlServer.Types.OpenGisWktReader.ReadGeometry() at
Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars
geometryTaggedText, Int32 srid)


Has anyone faced such an issue before. 


Thanks and regards
AFroz Kannancheri
-- 
View this message in context: 
http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631717p4631717.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Check whether layer exists on map using c# mapscript

2010-02-25 Thread sireesha

Dear All,

I have 2 queries:

1) How to check whether a layer exists on map and then remove it using c#
mapscript.

  I am able to remove the layer using the below code:
layerObj remLayer = map.getLayerByName(overlay_layer);
map.removeLayer(remLayer.index);  
  But i want to check whether layer has already been removed or not.

2)How to remove feature that has been added to a layer?


Please help me.


Regards,
Sireesha
-- 
View this message in context: 
http://n2.nabble.com/Check-whether-layer-exists-on-map-using-c-mapscript-tp4631814p4631814.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Getfeatureinfo and MSsql 2008 server

2010-02-25 Thread Paul james
The Mssql2008 driver is incomplete...
GetFeatureInfo, Nquery, Query doesnt work at all...

http://trac.osgeo.org/mapserver/ticket/3058

Paul

On Thu, Feb 25, 2010 at 7:57 AM, Afroz Kannancheri afr...@gmail.com wrote:


 Hi All,

 I have a layer drawn from the shape information stored in MSSQL 2008
 server.
 The layer has around 300 polygons which are drawn perfectly on a world base
 map.
 When i try to get the details for each polygon using the Getfeatureinfo
 during the click event, i get the following error from MSSQL 2008 server.

 msMSSQL2008LayerGetShape(): Query error. Error executing MSSQL2008 SQL
 statement: SELECT convert(varchar(max), numb1),convert(varchar(max),
 poprate),geom.STAsBinary(),convert(varchar(20), ID) from table1 WHERE
 geom.STIntersects(Geometry::STGeomFromText('POLYGON((-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875))',0)) = 1 -[Microsoft][ODBC SQL Server Driver][SQL Server]A
 .NET Framework error occurred during execution of user defined routine or
 aggregate 'geometry': System.FormatException: 24118: The Polygon input is
 not valid because the exterior ring does not have enough points. Each ring
 of a polygon must contain at least three distinct points.
 System.FormatException: at
 Microsoft.SqlServer.Types.GeometryDataBuilder.EndFigure() at

 Microsoft.SqlServer.Types.OpenGisWktReader.ParseLineStringText(FigureAttributes
 attributes) at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonText()
 at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParseGeometryTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ReadGeometry() at
 Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars
 geometryTaggedText, Int32 srid)


 Has anyone faced such an issue before.


 Thanks and regards
 AFroz Kannancheri
 --
 View this message in context:
 http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631781p4631781.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Getfeatureinfo and MSsql 2008 server

2010-02-25 Thread James Perrins
.queryByPoint works OK for me from C# mapscript




On Thu, Feb 25, 2010 at 11:51 AM, Paul james paulj...@gmail.com wrote:
 The Mssql2008 driver is incomplete...
 GetFeatureInfo, Nquery, Query doesnt work at all...

 http://trac.osgeo.org/mapserver/ticket/3058

 Paul

 On Thu, Feb 25, 2010 at 7:57 AM, Afroz Kannancheri afr...@gmail.com wrote:

 Hi All,

 I have a layer drawn from the shape information stored in MSSQL 2008
 server.
 The layer has around 300 polygons which are drawn perfectly on a world
 base
 map.
 When i try to get the details for each polygon using the Getfeatureinfo
 during the click event, i get the following error from MSSQL 2008 server.

 msMSSQL2008LayerGetShape(): Query error. Error executing MSSQL2008 SQL
 statement: SELECT convert(varchar(max), numb1),convert(varchar(max),
 poprate),geom.STAsBinary(),convert(varchar(20), ID) from table1 WHERE
 geom.STIntersects(Geometry::STGeomFromText('POLYGON((-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875))',0)) = 1 -[Microsoft][ODBC SQL Server Driver][SQL Server]A
 .NET Framework error occurred during execution of user defined routine or
 aggregate 'geometry': System.FormatException: 24118: The Polygon input is
 not valid because the exterior ring does not have enough points. Each ring
 of a polygon must contain at least three distinct points.
 System.FormatException: at
 Microsoft.SqlServer.Types.GeometryDataBuilder.EndFigure() at

 Microsoft.SqlServer.Types.OpenGisWktReader.ParseLineStringText(FigureAttributes
 attributes) at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonText()
 at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParseGeometryTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ReadGeometry() at
 Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars
 geometryTaggedText, Int32 srid)


 Has anyone faced such an issue before.


 Thanks and regards
 AFroz Kannancheri
 --
 View this message in context:
 http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631781p4631781.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users





-- 
Dr James Perrins
exeGesIS SDM Ltd
Great House Barn
New Street, Talgarth
Powys LD3 0AH.
Direct Line: 01646 686650
Tel: 01874 711145
Fax: 01874 711156
Email: jam...@esdm.co.uk

This E-mail and any files transmitted with it are private and intended
solely for the use of the individual or entity to whom they are
addressed. If you are not the intended recipient, the E-mail and any
files have been transmitted to you in error and any copying,
distribution or other use of the information contained in them is
strictly prohibited.

Nothing in this E-mail message amounts to a contractual or other legal
commitment on the part of exeGesIS SDM Ltd unless confirmed by a
signed communication.

exeGesIS SDM Ltd will make every effort to keep its network free of
viruses. However, the recipient of this message will need to scan this
message, and any attachments, for viruses, as exeGesIS SDM Ltd can
take no responsibility for any computer virus that might be
transferred by this e-mail.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Translate MapServer Doc into french

2010-02-25 Thread Alan Boudreault
About the process described by Jeff..

The following step:
 - copy the /en folder and rename to your language

could be reconsidered. Since there is a mechanism on the server that redirect 
automatically to the english version is the file of the current translated 
doc, you can simply add the images, include directories plus the 
translated documents in your fr directory.

It would be useful to have this process in the wiki.

Alan

On February 25, 2010 03:02:56 am Lars Lingner wrote:
 Yves Jacolin schrieb:
  Hello,
 
  What is the process to translate the documentation into french? Does
  someone began to work on this?
 
 I'm not sure if someone is working on french translation, but the
 process of translating the docs has been described by Jeff McKenna here
 http://lists.osgeo.org/pipermail/mapserver-dev/2010-February/009653.html
 
 I will add to this: Just check in the translated files. The build script
 will take care of missing translation by inserting the English version.
 
 Its really nice to see that the multilingual setup attracts more and
 more people ;)
 
 Thank you!
 
 
 Lars
 
 
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users
 

-- 
Alan Boudreault
Mapgears
http://www.mapgears.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Translate MapServer Doc into french

2010-02-25 Thread Paul Ramsey
In the wiki, also a description of the process to determine the last
revision in your language directory and to generate a diff of the
english tree showing all changes since that revision.

P.

On Thu, Feb 25, 2010 at 5:48 AM, Alan Boudreault
aboudrea...@mapgears.com wrote:
 About the process described by Jeff..

 The following step:

 - copy the /en folder and rename to your language

 could be reconsidered. Since there is a mechanism on the server that
 redirect automatically to the english version is the file of the current
 translated doc, you can simply add the images, include directories plus
 the translated documents in your fr directory.

 It would be useful to have this process in the wiki.

 Alan

 On February 25, 2010 03:02:56 am Lars Lingner wrote:

 Yves Jacolin schrieb:

  Hello,

 

  What is the process to translate the documentation into french? Does

  someone began to work on this?



 I'm not sure if someone is working on french translation, but the

 process of translating the docs has been described by Jeff McKenna here

 http://lists.osgeo.org/pipermail/mapserver-dev/2010-February/009653.html



 I will add to this: Just check in the translated files. The build script

 will take care of missing translation by inserting the English version.



 Its really nice to see that the multilingual setup attracts more and

 more people ;)



 Thank you!





 Lars





 ___

 mapserver-users mailing list

 mapserver-users@lists.osgeo.org

 http://lists.osgeo.org/mailman/listinfo/mapserver-users



 --

 Alan Boudreault

 Mapgears

 http://www.mapgears.com

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Translate MapServer Doc into french

2010-02-25 Thread Daniel Morissette

Alan Boudreault wrote:

About the process described by Jeff..

The following step:

- copy the /en folder and rename to your language

could be reconsidered. Since there is a mechanism on the server that 
redirect automatically to the english version is the file of the current 
translated doc, you can simply add the images, include directories 
plus the translated documents in your fr directory.


It would be useful to have this process in the wiki.



I agree that since we have this fallback mechanism on the server we 
should avoid committing batch copies of the English docs in the SVN 
directory and instead the translators should copy the docs one by one to 
their directory as they translate them.


Note to translators: the automated fallback to the English version of 
missing documents in the translated directories works only on the 
server, so don't be surprised if that doesn't work on your local machine 
while you test your translations.


Alan: I'd say go ahead and update the wiki with that info... it's a 
wiki, so everyone is free to improve it.


Daniel
--
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Find mailing list info

2010-02-25 Thread Daniel Morissette

Yves Jacolin wrote:

Hello,

Just a question about mailing list. From the main page of mapserver.org, how
can I find information about mailing list whitout doing a search?

I find it at the end of the doc which doesn't seem to me the best location.



There used to be a Community (or Support?) link in the top nav bar of 
the old Plone site but we seem to be missing it in the new site.


I'd support re-adding such a link since easy access to the lists info, 
IRC, and other community tools is important in my opinion. Perhaps 
create a docs ticket or start a discussion on the -dev list where Jeff 
and other website maintainers will be able to comment.


Daniel
--
Daniel Morissette
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Check whether layer exists on map using c# mapscript

2010-02-25 Thread Tamas Szekeres
2010/2/25 sireesha sireesha_allo...@satyam.com


  But i want to check whether layer has already been removed or not.



map.getLayerByName returns null if the layer with the specified name doesn't
exist (already been removed)







 2)How to remove feature that has been added to a layer?


There's no such option implemented at the moment. You might want to
re-generate the entire layer with the new set of features.

Best regards,

Tamas
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] binding color of polygons to a specific field in MSSQL Server 2008

2010-02-25 Thread Kiks

I have a table in MS SQL Server 2008 with many spatial records. They are
correctly visualized with a WMS call.
I woundered if it is possible for every polygon of that table to read the
fill color from a specific field of the same table, just like you can do
this with shape files as I read from the doc:

...[Attribute] was introduced in version 5.0, to specify the item name in
the attribute table to use for color values. The hard brackets [] are
required. For example, if your shapefile‘s DBF has a field named “MYCOLOR”
that holds color values for each record, your STYLE object for might
contain:

STYLE
  COLOR [MYCOLOR]
  OUTLINECOLOR 150 150 150
END ...

thanks to everybody,
Kiks
-- 
View this message in context: 
http://n2.nabble.com/binding-color-of-polygons-to-a-specific-field-in-MSSQL-Server-2008-tp4633357p4633357.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] binding color of polygons to a specific field in MSSQL Server 2008

2010-02-25 Thread Tamas Szekeres
This feature is not data source specific, so I suspect it would work with
the MSSQL2008 driver as well.

Best regards,

Tamas


2010/2/25 Kiks enrico.o...@gmail.com


 I have a table in MS SQL Server 2008 with many spatial records. They are
 correctly visualized with a WMS call.
 I woundered if it is possible for every polygon of that table to read the
 fill color from a specific field of the same table, just like you can do
 this with shape files as I read from the doc:

 ...[Attribute] was introduced in version 5.0, to specify the item name in
 the attribute table to use for color values. The hard brackets [] are
 required. For example, if your shapefile‘s DBF has a field named “MYCOLOR”
 that holds color values for each record, your STYLE object for might
 contain:

 STYLE
  COLOR [MYCOLOR]
  OUTLINECOLOR 150 150 150
 END ...

 thanks to everybody,
 Kiks
 --
 View this message in context:
 http://n2.nabble.com/binding-color-of-polygons-to-a-specific-field-in-MSSQL-Server-2008-tp4633357p4633357.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Find mailing list info

2010-02-25 Thread Stephen Woodbridge

Daniel Morissette wrote:

Yves Jacolin wrote:

Hello,

Just a question about mailing list. From the main page of 
mapserver.org, how

can I find information about mailing list whitout doing a search?

I find it at the end of the doc which doesn't seem to me the best 
location.




There used to be a Community (or Support?) link in the top nav bar of 
the old Plone site but we seem to be missing it in the new site.


I'd support re-adding such a link since easy access to the lists info, 
IRC, and other community tools is important in my opinion. Perhaps 
create a docs ticket or start a discussion on the -dev list where Jeff 
and other website maintainers will be able to comment.


Daniel


I also noticed that I could not find a link to the development pages off 
the main site either. Would it be possible to create a site map page 
automatically from the pages in svn as part of site update tools?


I can write bugs for both of these issues if you want.

-Steve
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Re: binding color of polygons to a specific field in MSSQL Server 2008

2010-02-25 Thread Kiks

Thanks Tamas,

I added a field call COLOR VARCHAR(15) filled with the string color value
for every item (es. '255 255 255'), and it works fine.


-- 
View this message in context: 
http://n2.nabble.com/binding-color-of-polygons-to-a-specific-field-in-MSSQL-Server-2008-tp4633357p4633425.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Find mailing list info

2010-02-25 Thread Lime, Steve D (DNR)
We've talked about overhauling the home page nav recently. It's currently like 
it is because of limitations in the original version of Sphinx. I think we can 
do better. The lefthand nav shouldn't be things like announcements, instead it 
should be high-value links to documentation like the ones mentioned in this 
thread. I'd file one bug on the broader topic of updating the homepage 
navigation.

Steve

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen Woodbridge
Sent: Thursday, February 25, 2010 10:16 AM
To: Daniel Morissette
Cc: mapserver-users
Subject: Re: [mapserver-users] Find mailing list info

Daniel Morissette wrote:
 Yves Jacolin wrote:
 Hello,

 Just a question about mailing list. From the main page of 
 mapserver.org, how
 can I find information about mailing list whitout doing a search?

 I find it at the end of the doc which doesn't seem to me the best 
 location.

 
 There used to be a Community (or Support?) link in the top nav bar of 
 the old Plone site but we seem to be missing it in the new site.
 
 I'd support re-adding such a link since easy access to the lists info, 
 IRC, and other community tools is important in my opinion. Perhaps 
 create a docs ticket or start a discussion on the -dev list where Jeff 
 and other website maintainers will be able to comment.
 
 Daniel

I also noticed that I could not find a link to the development pages off 
the main site either. Would it be possible to create a site map page 
automatically from the pages in svn as part of site update tools?

I can write bugs for both of these issues if you want.

-Steve
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Find mailing list info

2010-02-25 Thread Stephen Woodbridge

http://trac.osgeo.org/mapserver/ticket/3349

Lime, Steve D (DNR) wrote:

We've talked about overhauling the home page nav recently. It's
currently like it is because of limitations in the original version
of Sphinx. I think we can do better. The lefthand nav shouldn't be
things like announcements, instead it should be high-value links to
documentation like the ones mentioned in this thread. I'd file one
bug on the broader topic of updating the homepage navigation.

Steve

-Original Message- From:
mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
Woodbridge Sent: Thursday, February 25, 2010 10:16 AM To: Daniel
Morissette Cc: mapserver-users Subject: Re: [mapserver-users] Find
mailing list info

Daniel Morissette wrote:

Yves Jacolin wrote:

Hello,

Just a question about mailing list. From the main page of 
mapserver.org, how can I find information about mailing list

whitout doing a search?

I find it at the end of the doc which doesn't seem to me the best
 location.


There used to be a Community (or Support?) link in the top nav bar
of the old Plone site but we seem to be missing it in the new site.


I'd support re-adding such a link since easy access to the lists
info, IRC, and other community tools is important in my opinion.
Perhaps create a docs ticket or start a discussion on the -dev list
where Jeff and other website maintainers will be able to comment.

Daniel


I also noticed that I could not find a link to the development pages
off the main site either. Would it be possible to create a site map
page automatically from the pages in svn as part of site update
tools?

I can write bugs for both of these issues if you want.

-Steve ___ 
mapserver-users mailing list mapserver-users@lists.osgeo.org 
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Find mailing list info

2010-02-25 Thread Yves Jacolin
many thanks to all of you :)

Y.
Le jeudi 25 février 2010 17:47:20, Stephen Woodbridge a écrit :
 http://trac.osgeo.org/mapserver/ticket/3349

 Lime, Steve D (DNR) wrote:
  We've talked about overhauling the home page nav recently. It's
  currently like it is because of limitations in the original version
  of Sphinx. I think we can do better. The lefthand nav shouldn't be
  things like announcements, instead it should be high-value links to
  documentation like the ones mentioned in this thread. I'd file one
  bug on the broader topic of updating the homepage navigation.
 
  Steve
 
  -Original Message- From:
  mapserver-users-boun...@lists.osgeo.org
  [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stephen
  Woodbridge Sent: Thursday, February 25, 2010 10:16 AM To: Daniel
  Morissette Cc: mapserver-users Subject: Re: [mapserver-users] Find
  mailing list info
 
  Daniel Morissette wrote:
  Yves Jacolin wrote:
  Hello,
 
  Just a question about mailing list. From the main page of
  mapserver.org, how can I find information about mailing list
  whitout doing a search?
 
  I find it at the end of the doc which doesn't seem to me the best
   location.
 
  There used to be a Community (or Support?) link in the top nav bar
  of the old Plone site but we seem to be missing it in the new site.
 
 
  I'd support re-adding such a link since easy access to the lists
  info, IRC, and other community tools is important in my opinion.
  Perhaps create a docs ticket or start a discussion on the -dev list
  where Jeff and other website maintainers will be able to comment.
 
  Daniel
 
  I also noticed that I could not find a link to the development pages
  off the main site either. Would it be possible to create a site map
  page automatically from the pages in svn as part of site update
  tools?
 
  I can write bugs for both of these issues if you want.
 
  -Steve ___
  mapserver-users mailing list mapserver-users@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/mapserver-users

 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

-- 
Yves Jacolin

Responsable Formation et Support
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 26 57 98
Fax : 04 79 70 15 81
Mail : yves.jaco...@camptocamp.com
http://www.camptocamp.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Coordinates as labels

2010-02-25 Thread Robert Sanson
Hi Erdem
 
If you can create an attribute field for the z value and get it populated, then 
you can use it to label with. 
 
Regards,
 
Robert

 Erdem Guven erdem.gu...@idealteknoloji.com 25/02/2010 3:05 a.m. 
Hello,
I use shp2img to render s57 files. 
I want use z coordinate of points as label data. 
Is there a way to do that?
Erdem





Click here ( https://www.mailcontrol.com/sr/wQw0zmjPoHdJTZGyOCrrhg== ) to 
report this email as spam.
--
The contents of this email are confidential to AsureQuality. If you have 
received this communication in error please notify the sender immediately and 
delete the message and any attachments. The opinions expressed in this email 
are not necessarily those of AsureQuality. This message has been scanned for 
known viruses before delivery. AsureQuality supports the Unsolicited Electronic 
Messages Act 2007. If you do not wish to receive similar communications in 
future, please notify the sender of this message.
--


This message has been scanned for malware by SurfControl plc. 
www.surfcontrol.com
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Getfeatureinfo and MSsql 2008 server

2010-02-25 Thread Tamas Szekeres
 Afroz,

This error message says you must specify a search shape with area  0 during
the query. Assuming you use a queryByPoint operation, either the buffer
parameter of the tolerance of the layer should be specified as a positive
number.

Best regards,

Tamas



2010/2/25 Afroz Kannancheri afr...@gmail.com


 Hi All,

 I have a layer drawn from the shape information stored in MSSQL 2008
 server.
 The layer has around 300 polygons which are drawn perfectly on a world base
 map.
 When i try to get the details for each polygon using the Getfeatureinfo
 during the click event, i get the following error from MSSQL 2008 server.

 msMSSQL2008LayerGetShape(): Query error. Error executing MSSQL2008 SQL
 statement: SELECT convert(varchar(max), numb1),convert(varchar(max),
 poprate),geom.STAsBinary(),convert(varchar(20), ID) from table1 WHERE
 geom.STIntersects(Geometry::STGeomFromText('POLYGON((-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875))',0)) = 1 -[Microsoft][ODBC SQL Server Driver][SQL Server]A
 .NET Framework error occurred during execution of user defined routine or
 aggregate 'geometry': System.FormatException: 24118: The Polygon input is
 not valid because the exterior ring does not have enough points. Each ring
 of a polygon must contain at least three distinct points.
 System.FormatException: at
 Microsoft.SqlServer.Types.GeometryDataBuilder.EndFigure() at

 Microsoft.SqlServer.Types.OpenGisWktReader.ParseLineStringText(FigureAttributes
 attributes) at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonText()
 at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParseGeometryTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ReadGeometry() at
 Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars
 geometryTaggedText, Int32 srid)


 Has anyone faced such an issue before.


 Thanks and regards
 AFroz Kannancheri
 --
 View this message in context:
 http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631717p4631717.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Getfeatureinfo and MSsql 2008 server

2010-02-25 Thread Tamas Szekeres
Paul,

I don't see any compelling reason why these use cases wouldn't work. Could
you provide a sample data/mapfile/example URL to reproduce this?

Best regards,

Tamas



2010/2/25 Paul james paulj...@gmail.com

 The Mssql2008 driver is incomplete...
 GetFeatureInfo, Nquery, Query doesnt work at all...

 http://trac.osgeo.org/mapserver/ticket/3058

 Paul


 On Thu, Feb 25, 2010 at 7:57 AM, Afroz Kannancheri afr...@gmail.comwrote:


 Hi All,

 I have a layer drawn from the shape information stored in MSSQL 2008
 server.
 The layer has around 300 polygons which are drawn perfectly on a world
 base
 map.
 When i try to get the details for each polygon using the Getfeatureinfo
 during the click event, i get the following error from MSSQL 2008 server.

 msMSSQL2008LayerGetShape(): Query error. Error executing MSSQL2008 SQL
 statement: SELECT convert(varchar(max), numb1),convert(varchar(max),
 poprate),geom.STAsBinary(),convert(varchar(20), ID) from table1 WHERE
 geom.STIntersects(Geometry::STGeomFromText('POLYGON((-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875))',0)) = 1 -[Microsoft][ODBC SQL Server Driver][SQL Server]A
 .NET Framework error occurred during execution of user defined routine or
 aggregate 'geometry': System.FormatException: 24118: The Polygon input is
 not valid because the exterior ring does not have enough points. Each ring
 of a polygon must contain at least three distinct points.
 System.FormatException: at
 Microsoft.SqlServer.Types.GeometryDataBuilder.EndFigure() at

 Microsoft.SqlServer.Types.OpenGisWktReader.ParseLineStringText(FigureAttributes
 attributes) at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonText()
 at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParseGeometryTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ReadGeometry() at
 Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars
 geometryTaggedText, Int32 srid)


 Has anyone faced such an issue before.


 Thanks and regards
 AFroz Kannancheri
 --
 View this message in context:
 http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631781p4631781.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Getfeatureinfo and MSsql 2008 server

2010-02-25 Thread afrozk
Dear tamas, 
I'll try the buffer  parameter that u have mentioned once I m back in office on 
sunday and update u guys about the output.

Thanks a lot guys..
Sent from my BlackBerry® smartphone from du

-Original Message-
From: Tamas Szekeres szeker...@gmail.com
Date: Thu, 25 Feb 2010 23:06:47 
To: Afroz Kannancheriafr...@gmail.com
Cc: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Getfeatureinfo and MSsql 2008 server

 Afroz,

This error message says you must specify a search shape with area  0 during
the query. Assuming you use a queryByPoint operation, either the buffer
parameter of the tolerance of the layer should be specified as a positive
number.

Best regards,

Tamas



2010/2/25 Afroz Kannancheri afr...@gmail.com


 Hi All,

 I have a layer drawn from the shape information stored in MSSQL 2008
 server.
 The layer has around 300 polygons which are drawn perfectly on a world base
 map.
 When i try to get the details for each polygon using the Getfeatureinfo
 during the click event, i get the following error from MSSQL 2008 server.

 msMSSQL2008LayerGetShape(): Query error. Error executing MSSQL2008 SQL
 statement: SELECT convert(varchar(max), numb1),convert(varchar(max),
 poprate),geom.STAsBinary(),convert(varchar(20), ID) from table1 WHERE
 geom.STIntersects(Geometry::STGeomFromText('POLYGON((-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875))',0)) = 1 -[Microsoft][ODBC SQL Server Driver][SQL Server]A
 .NET Framework error occurred during execution of user defined routine or
 aggregate 'geometry': System.FormatException: 24118: The Polygon input is
 not valid because the exterior ring does not have enough points. Each ring
 of a polygon must contain at least three distinct points.
 System.FormatException: at
 Microsoft.SqlServer.Types.GeometryDataBuilder.EndFigure() at

 Microsoft.SqlServer.Types.OpenGisWktReader.ParseLineStringText(FigureAttributes
 attributes) at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonText()
 at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParseGeometryTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ReadGeometry() at
 Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars
 geometryTaggedText, Int32 srid)


 Has anyone faced such an issue before.


 Thanks and regards
 AFroz Kannancheri
 --
 View this message in context:
 http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631717p4631717.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Getfeatureinfo and MSsql 2008 server

2010-02-25 Thread Afroz K
Dear Tamaz,
I guess this cannot be done as I am not using QuerybyPoint.
I just use the GetfeatureInfo from my html page.

Thanks
Afroz

On Fri, Feb 26, 2010 at 2:06 AM, Tamas Szekeres szeker...@gmail.com wrote:

 Afroz,

 This error message says you must specify a search shape with area  0
 during the query. Assuming you use a queryByPoint operation, either the
 buffer parameter of the tolerance of the layer should be specified as a
 positive number.

 Best regards,

 Tamas



 2010/2/25 Afroz Kannancheri afr...@gmail.com


 Hi All,

 I have a layer drawn from the shape information stored in MSSQL 2008
 server.
 The layer has around 300 polygons which are drawn perfectly on a world
 base
 map.
 When i try to get the details for each polygon using the Getfeatureinfo
 during the click event, i get the following error from MSSQL 2008 server.

 msMSSQL2008LayerGetShape(): Query error. Error executing MSSQL2008 SQL
 statement: SELECT convert(varchar(max), numb1),convert(varchar(max),
 poprate),geom.STAsBinary(),convert(varchar(20), ID) from table1 WHERE
 geom.STIntersects(Geometry::STGeomFromText('POLYGON((-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875,-16.4101563310658 17.724609875,-16.4101563310658
 17.724609875))',0)) = 1 -[Microsoft][ODBC SQL Server Driver][SQL Server]A
 .NET Framework error occurred during execution of user defined routine or
 aggregate 'geometry': System.FormatException: 24118: The Polygon input is
 not valid because the exterior ring does not have enough points. Each ring
 of a polygon must contain at least three distinct points.
 System.FormatException: at
 Microsoft.SqlServer.Types.GeometryDataBuilder.EndFigure() at

 Microsoft.SqlServer.Types.OpenGisWktReader.ParseLineStringText(FigureAttributes
 attributes) at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonText()
 at Microsoft.SqlServer.Types.OpenGisWktReader.ParsePolygonTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ParseGeometryTaggedText() at
 Microsoft.SqlServer.Types.OpenGisWktReader.ReadGeometry() at
 Microsoft.SqlServer.Types.SqlGeometry.STGeomFromText(SqlChars
 geometryTaggedText, Int32 srid)


 Has anyone faced such an issue before.


 Thanks and regards
 AFroz Kannancheri
 --
 View this message in context:
 http://n2.nabble.com/Getfeatureinfo-and-MSsql-2008-server-tp4631717p4631717.html
 Sent from the Mapserver - User mailing list archive at Nabble.com.
 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Translate MapServer Doc into french

2010-02-25 Thread Jeff McKenna

Alan Boudreault wrote:
I've created a page int the wiki about the doc translation process. Feel free 
to update it if something is missing or incomplete.


http://trac.osgeo.org/mapserver/wiki/DocumentationTranslation



Thanks very much Alan.  I've also added Daniel's note.

-jeff


--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users