Re: [pmapper-users] Hello!

2013-02-18 Thread Thomas RAFFIN
Hi,

I've made a hack in pmapper few years ago. This one allows you to 
specify 2 data sources for each layer:
LAYER
 .
 DATA the_geom FROM your_heavy_view USING UNQIUE gid
 METADATA
 PM_RESULT_DATASUBSTITION the_geom FROM your_geo_table USING 
UNQIUE gid
 ...
 END
 ...
END

For instance  your_heavy_view is a view that join a geographical table 
(your_geo_table) with many other tables. The attributes the_geom and 
gid have to be the same names and values in both table and view.

The DATA value is the habitual one whereas PM_RESULT_DATASUBSTITION 
is used to draw / select / query graphically / etc... to speed up pmapper.

Be careful : all attributes used for label, classitem, binding, etc.. 
have to be in the main table.

It has only been tested with postgreSQL/postigs but could works with 
other data types.

Thomas

Le 16/02/2013 18:35, yllka baci a écrit :
 Hello Pmapper users
 I'm going to write a paper on techniques that speed up data visualisation
 on Web GIS applications.
 Can any one of you tell me the techniques  that he (she) knows?

 ps: pmapper.net will be the main reference of this paper :) thank you very
 much for the support.

-- 

--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Hello!

2013-02-18 Thread Chris forum
Hi,

Yllka Interesting topic! If possible, don't forget to show us your final
results!

Thomas Thanx, very interesting tip! Should try it asap!
(On your example, beware on the UNIQUE typo ; )

With a Shapefile, using an index file (QIX) speeds up data visualisation
for sure.
Tiling to speed up access to WMS layers, with TileCache or the Mapserver
Mapcache.
Put the generated/temp files from Mapserver on a RAM disk (IMAGEPATH
parameter of the mapfile).

Chris


On Mon, Feb 18, 2013 at 9:43 AM, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi,

 I've made a hack in pmapper few years ago. This one allows you to
 specify 2 data sources for each layer:
 LAYER
  .
  DATA the_geom FROM your_heavy_view USING UNQIUE gid
  METADATA
  PM_RESULT_DATASUBSTITION the_geom FROM your_geo_table USING
 UNQIUE gid
  ...
  END
  ...
 END

 For instance  your_heavy_view is a view that join a geographical table
 (your_geo_table) with many other tables. The attributes the_geom and
 gid have to be the same names and values in both table and view.

 The DATA value is the habitual one whereas PM_RESULT_DATASUBSTITION
 is used to draw / select / query graphically / etc... to speed up pmapper.

 Be careful : all attributes used for label, classitem, binding, etc..
 have to be in the main table.

 It has only been tested with postgreSQL/postigs but could works with
 other data types.

 Thomas

 Le 16/02/2013 18:35, yllka baci a écrit :
  Hello Pmapper users
  I'm going to write a paper on techniques that speed up data visualisation
  on Web GIS applications.
  Can any one of you tell me the techniques  that he (she) knows?
 
  ps: pmapper.net will be the main reference of this paper :) thank you
 very
  much for the support.

 --


 --
 The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
 is your hub for all things parallel software development, from weekly
 thought
 leadership blogs to news, videos, case studies, tutorials, tech docs,
 whitepapers, evaluation guides, and opinion stories. Check out the most
 recent posts - join the conversation now.
 http://goparallel.sourceforge.net/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Hello!

2013-02-18 Thread Thomas RAFFIN

Le 18/02/2013 10:15, Chris forum a écrit :
 Hi,

 Yllka Interesting topic! If possible, don't forget to show us your final
 results!

 Thomas Thanx, very interesting tip! Should try it asap!
 (On your example, beware on the UNIQUE typo ; )

Oops!



 With a Shapefile, using an index file (QIX) speeds up data visualisation
 for sure.

In this case, don't specify file extension in the DATA.

 Tiling to speed up access to WMS layers, with TileCache or the Mapserver
 Mapcache.
 Put the generated/temp files from Mapserver on a RAM disk (IMAGEPATH
 parameter of the mapfile).

Have you got doc for this point please?


For Raster data, you can use tiles (use gdaltindex) and then create the 
QIX file.


Generally, be careful with mapserver on the fly re-projection. It is to 
avoid if you want to speed up MapServer response.


 Chris


 On Mon, Feb 18, 2013 at 9:43 AM, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi,

 I've made a hack in pmapper few years ago. This one allows you to
 specify 2 data sources for each layer:
 LAYER
   .
   DATA the_geom FROM your_heavy_view USING UNQIUE gid
   METADATA
   PM_RESULT_DATASUBSTITION the_geom FROM your_geo_table USING
 UNQIUE gid
   ...
   END
   ...
 END

 For instance  your_heavy_view is a view that join a geographical table
 (your_geo_table) with many other tables. The attributes the_geom and
 gid have to be the same names and values in both table and view.

 The DATA value is the habitual one whereas PM_RESULT_DATASUBSTITION
 is used to draw / select / query graphically / etc... to speed up pmapper.

 Be careful : all attributes used for label, classitem, binding, etc..
 have to be in the main table.

 It has only been tested with postgreSQL/postigs but could works with
 other data types.

 Thomas

 Le 16/02/2013 18:35, yllka baci a écrit :
 Hello Pmapper users
 I'm going to write a paper on techniques that speed up data visualisation
 on Web GIS applications.
 Can any one of you tell me the techniques  that he (she) knows?

 ps: pmapper.net will be the main reference of this paper :) thank you
 very
 much for the support.
 --


 --
 The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
 is your hub for all things parallel software development, from weekly
 thought
 leadership blogs to news, videos, case studies, tutorials, tech docs,
 whitepapers, evaluation guides, and opinion stories. Check out the most
 recent posts - join the conversation now.
 http://goparallel.sourceforge.net/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --
 The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
 is your hub for all things parallel software development, from weekly thought
 leadership blogs to news, videos, case studies, tutorials, tech docs,
 whitepapers, evaluation guides, and opinion stories. Check out the most
 recent posts - join the conversation now. http://goparallel.sourceforge.net/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users



-- 


Thomas RAFFIN
Chef de Projet Internet
traf...@sirap.fr mailto:traf...@sirap.fr  Sirap http://sirap.fr 
Tel 
: 04 75 72 84 10
Fax : 04 75 70 07 98
Rue Paul Louis Héroult - BP 253
26106 Romans cedex

--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Hello!

2013-02-18 Thread Chris forum
 Put the generated/temp files from Mapserver on a RAM disk (IMAGEPATH
 parameter of the mapfile).

 Have you got doc for this point please?

Here under how it is set up on my Debian server, for a 8GB directory on
RAM:

mkdir /data/disk_on_ram/
mount -o size=8G -t tmpfs tmpfs /data/disk_on_ram/
mkdir /data/disk_on_ram/pmapper_temp
chown www-data:users /data/disk_on_ram/pmapper_temp/

Then to let Apache use it:

In /etc/apache2/httpd.conf
Include /etc/apache2/pmapper_tmpdir.conf

In /etc/apache2/pmapper_tmpdir.conf
#Alias /tmp/ /data/dataweb/tmp/
Directory /data/dataweb/tmp/
AllowOverride All
Options All
Order allow,deny
Allow from all
/Directory

In /data/dataweb/tmp/
ln -s /data/disk_on_ram/pmapper_temp/

Finally in the mapfile:
IMAGEPATH /data/disk_on_ram/pmapper_temp/
IMAGEURL /tmp/pmapper_temp/



 For Raster data, you can use tiles (use gdaltindex) and then create the
 QIX file.
Also with raster data, gdaladdo is very usefull as it adds pyramidal / less
detailed views of the image (downsampling), in the image itself. Mapserver
knows how to use them depending on the scale of the map.






On Mon, Feb 18, 2013 at 10:26 AM, Thomas RAFFIN traf...@sirap.fr wrote:


 Le 18/02/2013 10:15, Chris forum a écrit :
  Hi,
 
  Yllka Interesting topic! If possible, don't forget to show us your final
  results!
 
  Thomas Thanx, very interesting tip! Should try it asap!
  (On your example, beware on the UNIQUE typo ; )

 Oops!


 
  With a Shapefile, using an index file (QIX) speeds up data visualisation
  for sure.

 In this case, don't specify file extension in the DATA.

  Tiling to speed up access to WMS layers, with TileCache or the Mapserver
  Mapcache.
  Put the generated/temp files from Mapserver on a RAM disk (IMAGEPATH
  parameter of the mapfile).

 Have you got doc for this point please?


 For Raster data, you can use tiles (use gdaltindex) and then create the
 QIX file.


 Generally, be careful with mapserver on the fly re-projection. It is to
 avoid if you want to speed up MapServer response.

 
  Chris
 
 
  On Mon, Feb 18, 2013 at 9:43 AM, Thomas RAFFIN traf...@sirap.fr wrote:
 
  Hi,
 
  I've made a hack in pmapper few years ago. This one allows you to
  specify 2 data sources for each layer:
  LAYER
.
DATA the_geom FROM your_heavy_view USING UNQIUE gid
METADATA
PM_RESULT_DATASUBSTITION the_geom FROM your_geo_table USING
  UNQIUE gid
...
END
...
  END
 
  For instance  your_heavy_view is a view that join a geographical table
  (your_geo_table) with many other tables. The attributes the_geom and
  gid have to be the same names and values in both table and view.
 
  The DATA value is the habitual one whereas PM_RESULT_DATASUBSTITION
  is used to draw / select / query graphically / etc... to speed up
 pmapper.
 
  Be careful : all attributes used for label, classitem, binding, etc..
  have to be in the main table.
 
  It has only been tested with postgreSQL/postigs but could works with
  other data types.
 
  Thomas
 
  Le 16/02/2013 18:35, yllka baci a écrit :
  Hello Pmapper users
  I'm going to write a paper on techniques that speed up data
 visualisation
  on Web GIS applications.
  Can any one of you tell me the techniques  that he (she) knows?
 
  ps: pmapper.net will be the main reference of this paper :) thank you
  very
  much for the support.
  --
 
 
 
 --
  The Go Parallel Website, sponsored by Intel - in partnership with
 Geeknet,
  is your hub for all things parallel software development, from weekly
  thought
  leadership blogs to news, videos, case studies, tutorials, tech docs,
  whitepapers, evaluation guides, and opinion stories. Check out the most
  recent posts - join the conversation now.
  http://goparallel.sourceforge.net/
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 
 --
  The Go Parallel Website, sponsored by Intel - in partnership with
 Geeknet,
  is your hub for all things parallel software development, from weekly
 thought
  leadership blogs to news, videos, case studies, tutorials, tech docs,
  whitepapers, evaluation guides, and opinion stories. Check out the most
  recent posts - join the conversation now.
 http://goparallel.sourceforge.net/
  ___
  pmapper-users mailing list
  pmapper-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/pmapper-users
 
 

 --


 Thomas RAFFIN
 Chef de Projet Internet
 traf...@sirap.fr mailto:traf...@sirap.fr  Sirap http://sirap.fr
   Tel
 : 04 75 72 84 10
 Fax : 04 75 70 07 98
 Rue Paul Louis Héroult - BP 253
 26106 Romans cedex


 

Re: [pmapper-users] Hello!

2013-02-18 Thread Thomas RAFFIN
Thanks!

Le 18/02/2013 11:19, Chris forum a écrit :
 Put the generated/temp files from Mapserver on a RAM disk (IMAGEPATH
 parameter of the mapfile).
 Have you got doc for this point please?
 Here under how it is set up on my Debian server, for a 8GB directory on
 RAM:

 mkdir /data/disk_on_ram/
 mount -o size=8G -t tmpfs tmpfs /data/disk_on_ram/
 mkdir /data/disk_on_ram/pmapper_temp
 chown www-data:users /data/disk_on_ram/pmapper_temp/

 Then to let Apache use it:

 In /etc/apache2/httpd.conf
 Include /etc/apache2/pmapper_tmpdir.conf

 In /etc/apache2/pmapper_tmpdir.conf
 #Alias /tmp/ /data/dataweb/tmp/
 Directory /data/dataweb/tmp/
  AllowOverride All
  Options All
  Order allow,deny
  Allow from all
 /Directory

 In /data/dataweb/tmp/
 ln -s /data/disk_on_ram/pmapper_temp/

 Finally in the mapfile:
 IMAGEPATH /data/disk_on_ram/pmapper_temp/
 IMAGEURL /tmp/pmapper_temp/



 For Raster data, you can use tiles (use gdaltindex) and then create the
 QIX file.
 Also with raster data, gdaladdo is very usefull as it adds pyramidal / less
 detailed views of the image (downsampling), in the image itself. Mapserver
 knows how to use them depending on the scale of the map.






 On Mon, Feb 18, 2013 at 10:26 AM, Thomas RAFFIN traf...@sirap.fr wrote:

 Le 18/02/2013 10:15, Chris forum a écrit :
 Hi,

 Yllka Interesting topic! If possible, don't forget to show us your final
 results!

 Thomas Thanx, very interesting tip! Should try it asap!
 (On your example, beware on the UNIQUE typo ; )
 Oops!


 With a Shapefile, using an index file (QIX) speeds up data visualisation
 for sure.
 In this case, don't specify file extension in the DATA.

 Tiling to speed up access to WMS layers, with TileCache or the Mapserver
 Mapcache.
 Put the generated/temp files from Mapserver on a RAM disk (IMAGEPATH
 parameter of the mapfile).
 Have you got doc for this point please?


 For Raster data, you can use tiles (use gdaltindex) and then create the
 QIX file.


 Generally, be careful with mapserver on the fly re-projection. It is to
 avoid if you want to speed up MapServer response.

 Chris


 On Mon, Feb 18, 2013 at 9:43 AM, Thomas RAFFIN traf...@sirap.fr wrote:

 Hi,

 I've made a hack in pmapper few years ago. This one allows you to
 specify 2 data sources for each layer:
 LAYER
.
DATA the_geom FROM your_heavy_view USING UNQIUE gid
METADATA
PM_RESULT_DATASUBSTITION the_geom FROM your_geo_table USING
 UNQIUE gid
...
END
...
 END

 For instance  your_heavy_view is a view that join a geographical table
 (your_geo_table) with many other tables. The attributes the_geom and
 gid have to be the same names and values in both table and view.

 The DATA value is the habitual one whereas PM_RESULT_DATASUBSTITION
 is used to draw / select / query graphically / etc... to speed up
 pmapper.
 Be careful : all attributes used for label, classitem, binding, etc..
 have to be in the main table.

 It has only been tested with postgreSQL/postigs but could works with
 other data types.

 Thomas

 Le 16/02/2013 18:35, yllka baci a écrit :
 Hello Pmapper users
 I'm going to write a paper on techniques that speed up data
 visualisation
 on Web GIS applications.
 Can any one of you tell me the techniques  that he (she) knows?

 ps: pmapper.net will be the main reference of this paper :) thank you
 very
 much for the support.
 --



 --
 The Go Parallel Website, sponsored by Intel - in partnership with
 Geeknet,
 is your hub for all things parallel software development, from weekly
 thought
 leadership blogs to news, videos, case studies, tutorials, tech docs,
 whitepapers, evaluation guides, and opinion stories. Check out the most
 recent posts - join the conversation now.
 http://goparallel.sourceforge.net/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users

 --
 The Go Parallel Website, sponsored by Intel - in partnership with
 Geeknet,
 is your hub for all things parallel software development, from weekly
 thought
 leadership blogs to news, videos, case studies, tutorials, tech docs,
 whitepapers, evaluation guides, and opinion stories. Check out the most
 recent posts - join the conversation now.
 http://goparallel.sourceforge.net/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users


 --


 Thomas RAFFIN
 Chef de Projet Internet
 traf...@sirap.fr mailto:traf...@sirap.fr  Sirap http://sirap.fr
Tel
 : 04 75 72 84 10
 Fax : 04 75 70 07 98
 Rue Paul Louis Héroult - BP 253
 26106 Romans cedex


 

Re: [pmapper-users] Hello!

2013-02-18 Thread Armin Burger
http://mapserver.org/optimization/index.html
http://mapserver.org/input/raster.html#raster-display-performance-tips


On 02/16/2013 06:35 PM, yllka baci wrote:
 Hello Pmapper users
 I'm going to write a paper on techniques that speed up data visualisation
 on Web GIS applications.
 Can any one of you tell me the techniques  that he (she) knows?

 ps: pmapper.net will be the main reference of this paper :) thank you very
 much for the support.


--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


Re: [pmapper-users] Hello!

2013-02-18 Thread yllka baci
Thankyou all for the responses...
I have evidentet these techniques:
- Slippy Maps (that is integreted in MapServer but i will show how it works)
- Zooming layering (show only some maps in some zooming levels)
- Tile Index ( i love it)
- Database optimisation (i have an experience with thousands geospaical
records ...so i think it is important)
I will take into consideration your advice too...

I will send my paper in two conferences here in Balkan.
The rule is to not publish the paper until they make a decision to accept
it or not
So I will show it up for you after May 2013  :)


On Mon, Feb 18, 2013 at 10:27 PM, Armin Burger armin.bur...@gmx.net wrote:

 http://mapserver.org/optimization/index.html
 http://mapserver.org/input/raster.html#raster-display-performance-tips


 On 02/16/2013 06:35 PM, yllka baci wrote:
  Hello Pmapper users
  I'm going to write a paper on techniques that speed up data visualisation
  on Web GIS applications.
  Can any one of you tell me the techniques  that he (she) knows?
 
  ps: pmapper.net will be the main reference of this paper :) thank you
 very
  much for the support.
 


 --
 The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
 is your hub for all things parallel software development, from weekly
 thought
 leadership blogs to news, videos, case studies, tutorials, tech docs,
 whitepapers, evaluation guides, and opinion stories. Check out the most
 recent posts - join the conversation now.
 http://goparallel.sourceforge.net/
 ___
 pmapper-users mailing list
 pmapper-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/pmapper-users




-- 
Yllka Baci
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Hello!

2013-02-16 Thread yllka baci
Hello Pmapper users
I'm going to write a paper on techniques that speed up data visualisation
on Web GIS applications.
Can any one of you tell me the techniques  that he (she) knows?

ps: pmapper.net will be the main reference of this paper :) thank you very
much for the support.
-- 
Yllka Baci
--
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, 
is your hub for all things parallel software development, from weekly thought 
leadership blogs to news, videos, case studies, tutorials, tech docs, 
whitepapers, evaluation guides, and opinion stories. Check out the most 
recent posts - join the conversation now. http://goparallel.sourceforge.net/
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Hello!

2012-11-24 Thread afrim curri
Hello pmapper users!
I'm trying to use the last version of pmapper (pmapper 5 beta). It is cool,
evrything is ok, but i have a little problem!
i use google map as default OL and i have a point layer.
I see the points on map in evry zoom scale but when i zoom to scale 1:1693
i can't see any more the points , neither the raster layer.
My layer is like below:

NAME Point
  TYPE POINT
 TEMPLATE void
DATA point.shp
  TOLERANCE 10
  TOLERANCEUNITS pixels
  TEMPLATE void
  PROJECTION
'proj=utm'
'zone=34'
'datum=WGS84'
'units=m'
'no_defs'
  END
  METADATA
  END  # Metadata
  CLASS
Name 'Matesa'
SYMBOL 'redpoint'
SIZE 20
LABEL
  POSITION Auto
  COLOR 0 0 150
END #Label
  END  # Class
END  # Layer
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users


[pmapper-users] Hello!

2012-10-30 Thread yllka baci
Hello!
I have a problem with the tool Identify
I have a point layer, with some points on the map.
When i click in a point symbol it dose not show me the information.
What can i do?
Maybe this is because i have to be too precise on pointing the mouse on the
right latitude and longitude.
But i need to see the information when i click on the symbol.
Is it possible?

-- 
Yllka Baci
--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
___
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users